forked from cartsnitch/cartsnitch
fix(ci): remove actions/setup-node from lint job to bypass corrupted runner cache
Runner pod gitea-act-runner-cartsnitch-85b5984bb-527xw has a corrupt /root/.cache/act clone of actions/setup-node (missing dist/setup/index.js). SHA-pinning changed the cache hash but the fresh clone on that pod still ends up missing the dist directory. catthehacker/ubuntu:act-latest ships Node pre-installed; the lint job only needs ESLint + tsc, both of which are devDependencies installed by npm ci. Removing actions/setup-node from lint bypasses the corrupt pod cache entirely without affecting other jobs. Refs CAR-1162 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -27,10 +27,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
|
||||||
with:
|
|
||||||
node-version: "20"
|
|
||||||
cache: npm
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: ESLint
|
- name: ESLint
|
||||||
run: npx eslint .
|
run: npx eslint .
|
||||||
|
|||||||
Reference in New Issue
Block a user