1
0
mirror of https://gitea.com/actions/upload-artifact.git synced 2025-05-17 05:16:45 +08:00

Use NPM CI vs install

This commit is contained in:
Konrad Pabjan 2023-01-05 20:20:08 +00:00
parent e1509fb29d
commit 7375ec431c
2 changed files with 4 additions and 8 deletions
.github/workflows

@ -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

@ -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