diff options
author | Christoph Settgast <csett86@web.de> | 2022-02-16 23:56:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 23:56:06 +0100 |
commit | 107f3c19c4944cdfb1aa3cb70bcb21aba6c09cdc (patch) | |
tree | 783d6a1acac51fd92239bb4f0608247b502783b9 | |
parent | 233dad2421ddcab53a6e7ddb952ee93b6e1cf57c (diff) |
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
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16d6a75..bfb9596 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |