Skip to content

Commit

Permalink
Also added npm deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRivis committed Oct 25, 2023
1 parent 5abf54d commit a230c0b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}

# - name: Setup Node with NPM Package Registry
# uses: actions/setup-node@v3
# with:
# node-version: '18.x'
# cache: 'npm'
# registry-url: 'https://registry.npmjs.org'
# scope: '@dxworks'
#
# - name: Publish on NPM
# run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup Node with NPM Package Registry
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
scope: '@dxworks'

- name: Publish on NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Prepare Release Notes
run: touch ${{ github.workspace }}/releaseNotes/v${{ steps.semver_parser.outputs.semver }}.md
Expand Down

0 comments on commit a230c0b

Please sign in to comment.