Skip to content

Commit

Permalink
Merge pull request #3 from rsnyman/fix-npm-action
Browse files Browse the repository at this point in the history
Run npm install first to create package-lock.json
  • Loading branch information
john-dupuy committed Jul 15, 2020
2 parents c1d4a8b + c4910a5 commit ec67ea3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm ci
- run: npm test

Expand All @@ -27,6 +28,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm ci
- run: npm publish
env:
Expand All @@ -41,6 +43,7 @@ jobs:
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm install
- run: npm ci
- run: npm publish
env:
Expand Down

0 comments on commit ec67ea3

Please sign in to comment.