aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 4 insertions, 4 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: