Skip to content

Commit

Permalink
ci: npm auth take 2 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbesLindesay authored May 19, 2020
1 parent 2c07c24 commit 95bebe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rollingversions-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ jobs:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- run: npx rollingversions publish --github-token ${{ secrets.GITHUB_TOKEN }} --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/rollingversions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ jobs:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- run: npx rollingversions publish --github-token ${{ secrets.GITHUB_TOKEN }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 95bebe1

Please sign in to comment.