mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-18 14:34:44 +02: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'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Move the committed index.js file
|
- name: Move the committed index.js file
|
||||||
run: mv dist/index.js /tmp
|
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'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: npm test
|
- name: Test
|
||||||
run: |
|
run: npm run test
|
||||||
npm install
|
|
||||||
npm ci
|
|
||||||
ls node_modules/jest
|
|
||||||
npm run test
|
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
Loading…
Add table
Reference in a new issue