Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit d8a818b

Browse files
committed
chore: Run ci on publish stages
1 parent 08b4575 commit d8a818b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/publish-to-github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
registry-url: 'https://npm.pkg.github.com'
1414
# Defaults to the user or organization that owns the workflow file
1515
scope: '@mocks-server'
16+
- run: npm ci
1617
- run: npm publish
1718
env:
1819
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-to-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
with:
1212
node-version: '14.x'
1313
registry-url: 'https://registry.npmjs.org/'
14+
- run: npm ci
1415
- run: npm publish
1516
env:
1617
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)