Skip to content

Commit c517f0f

Browse files
committed
Use github packages.
1 parent 860082a commit c517f0f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
permissions:
4545
contents: write
46+
packages: write
4647
steps:
4748
- uses: actions/checkout@v3
4849
- name: Use Node.js 14
@@ -57,4 +58,5 @@ jobs:
5758
run: yarn semantic-release
5859
env:
5960
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"types": "lib/index.d.ts",
1515
"repository": "[email protected]:tensor-hq/react-relay-network-modern.git",
1616
"publishConfig": {
17-
"access": "public"
17+
"registry": "https://npm.pkg.github.com"
1818
},
1919
"keywords": [
2020
"relay",

0 commit comments

Comments
 (0)