fix(ci): skip setup-node cache when running under act
This commit is contained in:
parent
2d87ad5344
commit
3234cee1c2
1 changed files with 8 additions and 1 deletions
9
.github/workflows/quality.yml
vendored
9
.github/workflows/quality.yml
vendored
|
|
@ -22,12 +22,19 @@ jobs:
|
|||
libsoup-3.0-dev \
|
||||
libjavascriptcoregtk-4.1-dev
|
||||
|
||||
- name: Setup Node
|
||||
- name: Setup Node (GitHub Actions)
|
||||
if: ${{ env.ACT != 'true' }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
|
||||
- name: Setup Node (act)
|
||||
if: ${{ env.ACT == 'true' }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Setup Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue