File tree Expand file tree Collapse file tree
content/actions/publishing-packages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 with:
7979 node-version: '12.x'
8080 registry-url: 'https://registry.npmjs.org'
81- - run: npm install
81+ - run: npm ci
8282 - run: npm publish
8383 env:
8484 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -142,7 +142,7 @@ jobs:
142142 registry-url: 'https://npm.pkg.github.com'
143143 # Defaults to the user or organization that owns the workflow file
144144 scope: '@octocat'
145- - run: npm install
145+ - run: npm ci
146146 - run: npm publish
147147 env:
148148 NODE_AUTH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
@@ -224,7 +224,7 @@ jobs:
224224 with:
225225 node-version: '10.x'
226226 registry-url: 'https://registry.npmjs.org'
227- - run: npm install
227+ - run: npm ci
228228 # Publish to npm
229229 - run: npm publish --access public
230230 env:{% raw %}
You can’t perform that action at this time.
0 commit comments