Skip to content

Commit

Permalink
Fiks auth til github NPM registry
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz committed Jun 19, 2024
1 parent b85f538 commit 4e51702
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/adapter-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 20
cache: npm
registry: https://npm.pkg.github.com
registry-url: https://npm.pkg.github.com
- name: Build core
run: |
npm ci
Expand All @@ -36,5 +36,4 @@ jobs:
working-directory: ./react-17-adapter
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5 changes: 2 additions & 3 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: 20
cache: npm
registry: https://npm.pkg.github.com
registry-url: https://npm.pkg.github.com
- name: Install dependencies
run: npm ci
- name: Test
Expand All @@ -33,5 +33,4 @@ jobs:
- name: Publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 4e51702

Please sign in to comment.