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

Commit 556feaf

Browse files
authored
Merge pull request #15 from secure-rm/develop
Fix: npm publish
2 parents c5ce994 + a8d6711 commit 556feaf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: 12
15-
- run: npm ci
15+
- run: npm install
1616
- run: npm run build
1717

1818
publish-npm:
@@ -24,7 +24,8 @@ jobs:
2424
with:
2525
node-version: 12
2626
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
27+
- run: npm install
28+
- run: npm run build
2829
- run: npm publish
2930
env:
3031
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -39,7 +40,8 @@ jobs:
3940
node-version: 12
4041
registry-url: https://npm.pkg.github.com/
4142
scope: '@your-github-username'
42-
- run: npm ci
43+
- run: npm install
44+
- run: npm run build
4345
- run: npm publish
4446
env:
4547
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)