Commit 22c6b12 1 parent c7a571a commit 22c6b12 Copy full SHA for 22c6b12
File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 30
30
- uses : actions/setup-node@v4
31
31
with :
32
32
node-version : ' 20.x'
33
- registry-url : ' https://npm.pkg.github.com '
33
+ registry-url : ' https://registry.npmjs.org '
34
34
# Defaults to the user or organization that owns the workflow file
35
35
# scope: '@pufferfinance'
36
36
@@ -42,14 +42,14 @@ jobs:
42
42
43
43
- name : Setup git
44
44
run : |
45
- git config --global user.name "github-actions[bot] "
46
- git config --global user.email "github-actions[bot] @users.noreply.github.com"
45
+ git config user.name "${GITHUB_ACTOR} "
46
+ git config user.email "${GITHUB_ACTOR} @users.noreply.github.com"
47
47
48
48
- name : Build
49
49
run : pnpm build
50
50
51
51
- name : Publish package
52
52
run : pnpm release --increment ${{ inputs.increment }}
53
53
env :
54
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
55
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 20
20
"files" : [
21
21
" dist"
22
22
],
23
- "publishConfig" : {
24
- "access" : " restricted" ,
25
- "registry" : " https://npm.pkg.github.com"
26
- },
27
23
"scripts" : {
28
24
"build" : " vite build" ,
29
25
"dev" : " pnpm build --watch" ,
You can’t perform that action at this time.
0 commit comments