ci: switch to clean-install (#714)

Detects if package-lock.json is no longer in sync with package.json and
ensures that build is reproducible by only relying on package-lock.json
This commit is contained in:
Christoph Settgast 2022-02-16 23:56:06 +01:00 committed by GitHub
parent 233dad2421
commit 107f3c19c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm ci
npm run dist
- uses: actions/upload-artifact@v2
with:
@ -54,7 +54,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm ci
npm run lint
npm run dist
- uses: actions/upload-artifact@v2
@ -76,7 +76,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm ci
npm run dist
- uses: actions/upload-artifact@v2
with: