ci: syntax
This commit is contained in:
parent
71d6674de2
commit
a9557e98c8
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user