mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-01 17:26:34 +00:00
Use NPM CI vs install
This commit is contained in:
parent
e1509fb29d
commit
7375ec431c
2 changed files with 4 additions and 8 deletions
2
.github/workflows/check-dist.yml
vendored
2
.github/workflows/check-dist.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Move the committed index.js file
|
||||
run: mv dist/index.js /tmp
|
||||
|
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -32,17 +32,13 @@ jobs:
|
|||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Compile
|
||||
run: npm run build
|
||||
|
||||
- name: npm test
|
||||
run: |
|
||||
npm install
|
||||
npm ci
|
||||
ls node_modules/jest
|
||||
npm run test
|
||||
- name: Test
|
||||
run: npm run test
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
|
Loading…
Add table
Reference in a new issue