1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Replace npm install with npm ci (#12148)

This commit is contained in:
JenniferKiesel
2021-12-03 20:28:49 +01:00
committed by GitHub
parent 471049334a
commit 267cf250ec

View File

@@ -78,7 +78,7 @@ jobs:
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -142,7 +142,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@octocat'
- run: npm install
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
@@ -224,7 +224,7 @@ jobs:
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm ci
# Publish to npm
- run: npm publish --access public
env:{% raw %}