aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2023-12-24 05:55:31 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2023-12-24 05:55:31 +0000
commitcb4b6835b50e733d4fdae0e899ffeeed43e2d6d8 (patch)
treeefdb1912c574d53811115b469d210c309dde18a0 /.github/workflows
parent140d5803b7a8d63de479ec53ebace32acb263d8b (diff)
downloadsubmelon.dev-cb4b6835b50e733d4fdae0e899ffeeed43e2d6d8.tar.gz
submelon.dev-cb4b6835b50e733d4fdae0e899ffeeed43e2d6d8.tar.bz2
submelon.dev-cb4b6835b50e733d4fdae0e899ffeeed43e2d6d8.zip
yarn pnp
Diffstat (limited to '.github/workflows')
-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