Skip to content

Commit

Permalink
Update npm registry + use tag from release
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Sep 3, 2024
1 parent aac92c7 commit b5bde6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org/
- run: npm install --prefix frontend
- run: npm run build --prefix frontend
- run: npm run prepub --prefix frontend
- run: npm publish ./frontend/dist --access=public --tag ${{ github.event.release.tag_name }}
- run: npm publish ./frontend/dist --access=public --tag "ai-act-decision-tree@${{ github.event.release.tag_name }}"
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPMJS_ACCESS_TOKEN}}

0 comments on commit b5bde6f

Please sign in to comment.