File tree 5 files changed +6
-4
lines changed
actions/install-dependencies
5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 12
12
with :
13
13
cache : pnpm
14
14
node-version : 18
15
-
16
15
- name : Install dependencies
17
16
shell : bash
18
17
run : |
19
- export NPM_TOKEN=${{ env.GITHUB_TOKEN }}
20
18
pnpm install --ignore-scripts
Original file line number Diff line number Diff line change 64
64
env :
65
65
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
66
67
+ - name : Create .npmrc
68
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
69
+
67
70
- name : Publish to NPM
68
71
uses : changesets/action@v1
69
72
with :
Original file line number Diff line number Diff line change 13
13
- name : Install dependencies
14
14
uses : ./.github/actions/install-dependencies
15
15
16
+ - name : Create .npmrc
17
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
18
+
16
19
- name : Publish snapshots
17
20
uses : seek-oss/changesets-snapshot@v0
18
21
with :
Original file line number Diff line number Diff line change 1
- //registry.npmjs.org/:_authToken = ${ NPM_TOKEN }
2
1
auto-install-peers = true
3
2
enable-pre-post-scripts = true
4
3
strict-peer-dependencies = false
Original file line number Diff line number Diff line change 1
1
auto-install-peers = true
2
2
@rabbitholegg:registry = https://npm.pkg.github.com/
3
- //npm.pkg.github.com/:_authToken = ${ NPM_TOKEN }
You can’t perform that action at this time.
0 commit comments