Install Yarn in the frontend CI job instead of relying on setup-node's cache #89

Merged
ryan merged 1 commits from fix/ci-frontend-yarn into main 2026-10-13 08:58:49 -04:00
+4 -2
View File
@@ -34,11 +34,13 @@ jobs:
working-directory: raggr-frontend working-directory: raggr-frontend
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
# No `cache: yarn` here: setup-node requires yarn to already be on PATH
# for that, and the Node it installs doesn't ship one.
- uses: actions/setup-node@v4.4.0 - uses: actions/setup-node@v4.4.0
with: with:
node-version: '22.14.0' node-version: '22.14.0'
cache: yarn - name: Install Yarn (lockfile v1)
cache-dependency-path: raggr-frontend/yarn.lock run: npm install --global yarn@1.22.22
- name: Install locked frontend dependencies - name: Install locked frontend dependencies
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Renderer tests - name: Renderer tests