Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
devbyray committed Nov 28, 2023
1 parent 193e0b7 commit 654abd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/yarn-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,17 @@ on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
always-auth: true
- run: npm ci
- run: npm run build
- run: npm publish --access public
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}



3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@devbyray:registry=https://registry.npmjs.org
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true

0 comments on commit 654abd5

Please sign in to comment.