Skip to content

Commit

Permalink
restore publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
serdec committed Nov 22, 2023
1 parent c157561 commit 74c555e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
run: |
npm pkg set version=$GITHUB_TAG
# Setup .npmrc file to publish to npm
# - uses: actions/setup-node@v3
# with:
# node-version: '20.x'
# registry-url: 'https://registry.npmjs.org'
# - run: npm ci
# - run: npm run test
# - run: npm run build
# - run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run test
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
- name: update package version
run: |
npm i --package-lock-only
Expand Down

0 comments on commit 74c555e

Please sign in to comment.