Skip to content

Commit

Permalink
build: npm install
Browse files Browse the repository at this point in the history
`npm ci` reuqires package-lock.json, which we don't fancy anyway
  • Loading branch information
cyjake committed Feb 1, 2020
1 parent 8f485c7 commit 726bf11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm install
- run: npm test

publish-npm:
Expand All @@ -24,7 +24,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Expand All @@ -39,7 +39,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@cyjake'
- run: npm ci
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 726bf11

Please sign in to comment.