ci: syntax

This commit is contained in:
cha0s 2024-02-13 06:20:46 -06:00
parent 71d6674de2
commit a9557e98c8

View File

@ -29,7 +29,7 @@ jobs:
with:
path: '**/node_modules'
key: ${{ hashFiles('**/package-lock.json') }}
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
- if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
run: npm ci
- run: npm run build
@ -61,9 +61,9 @@ jobs:
path: '**/node_modules'
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- run: npm config set registry ${{ vars.NPM_CI_REGISTRY }}
if: ${{ vars.NPM_CI_REGISTRY }} && steps.cache-node-modules.outputs.cache-hit != 'true'
if: ${{ vars.NPM_CI_REGISTRY && steps.cache-node-modules.outputs.cache-hit != 'true' }}
- run: npm ci
if: steps.cache-node-modules.outputs.cache-hit != 'true'
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
- run: |
npm run -- test -t 120000
npm run -- test -t 120000 -p e2e
@ -84,6 +84,6 @@ jobs:
with:
path: '**/node_modules'
key: ${{ hashFiles('**/package-lock.json') }}
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
- if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
run: npm ci
- run: npm run lint