We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fbd155 commit 5625b00Copy full SHA for 5625b00
1 file changed
.github/workflows/test.yml
@@ -2,6 +2,7 @@ name: test
2
on: push
3
4
permissions:
5
+ contents: read
6
packages: read
7
8
jobs:
@@ -13,16 +14,12 @@ jobs:
13
14
uses: actions/setup-node@v6
15
16
- name: Configure registry
- run: |
17
- cat <<EOF > .npmrc
18
- @remarkablemark:registry=https://npm.pkg.github.com
19
- //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
20
- EOF
+ run: echo "@remarkablemark:registry=https://npm.pkg.github.com" > .npmrc
21
22
- name: Install package
23
run: npm install @remarkablemark/test
24
env:
25
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
27
- name: Use package
28
run: node -p 'require("@remarkablemark/test").hello()'
0 commit comments