Skip to content

Commit

Permalink
fix(semantic-release): publish to NPM (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Nov 24, 2022
1 parent fe5ff34 commit 2c42952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Release
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# TODO Check if both are really needed.
NPM_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.GH_PAT }}
- name: Get version
id: get_version
Expand Down
1 change: 0 additions & 1 deletion scripts/build/generatePackageJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const distPackageExtraProps = {
name: '@mtes-mct/monitor-ui',
publishConfig: {
access: 'public',
registry: 'https://npm.pkg.github.com',
tag: 'latest'
},
repository: {
Expand Down

0 comments on commit 2c42952

Please sign in to comment.