aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--.github/workflows/pull_requests.yml8
2 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fbeeb6c..9ad14a3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -38,15 +38,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- cache: 'npm'
+ cache: 'yarn'
- name: Install Node.js packages
- run: npm ci
+ run: yarn install --immutable --immutable-cache --check-cache
- name: Run Eleventy Build
- run: npm run build
+ run: yarn build
- name: Run post-build
if: steps.filter.outputs.source == 'true'
- run: npm run post-build
+ run: yarn post-build
- name: Commit public changes
uses: actions-js/push@master
with:
diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml
index bdf0edf..751a051 100644
--- a/.github/workflows/pull_requests.yml
+++ b/.github/workflows/pull_requests.yml
@@ -24,8 +24,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- cache: 'npm'
+ cache: 'yarn'
- name: Install Node.js packages
- run: npm ci
- - name: Run linter
- run: npm run lint \ No newline at end of file
+ run: yarn install --immutable --immutable-cache --check-cache
+ - name: Run test build
+ run: yarn build \ No newline at end of file