Skip to content

Commit aa8b93e

Browse files
author
John Agan
authored
added npm install step to action
1 parent e6885dd commit aa8b93e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: 16
15+
- run: npm install
1516
- run: npm test
1617

1718
publish-npm:
@@ -23,6 +24,7 @@ jobs:
2324
with:
2425
node-version: 16
2526
registry-url: https://registry.npmjs.org/
27+
- run: npm install
2628
- run: npm publish
2729
env:
2830
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)