File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 9
9
type : string
10
10
required : false
11
11
default : ' 18'
12
+ secrets :
13
+ node_auth_token :
14
+ description : The Node.js auth token.
15
+ required : true
12
16
outputs :
13
17
artifact_name :
14
18
description : The artifact name.
26
30
uses : ./.github/actions/setup
27
31
with :
28
32
node_version : ${{ inputs.node_version }}
29
- node_auth_token : ${{ secrets.GH_TOKEN }}
33
+ node_auth_token : ${{ secrets.node_auth_token }}
30
34
- name : Build
31
35
run : npm run build
32
36
- name : Package
Original file line number Diff line number Diff line change 12
12
description : The package registry host.
13
13
type : string
14
14
required : true
15
+ node_auth_token :
16
+ description : The Node.js auth token.
17
+ required : true
15
18
secrets :
16
19
registry_token :
17
20
description : The package registry token.
29
32
uses : ./.github/actions/setup
30
33
with :
31
34
install_dependencies : ' false'
32
- node_auth_token : ${{ secrets.GH_TOKEN }}
35
+ node_auth_token : ${{ secrets.node_auth_token }}
33
36
- name : Download artifact
34
37
uses : actions/download-artifact@v3
35
38
with :
Original file line number Diff line number Diff line change 61
61
build :
62
62
name : Build
63
63
uses : ./.github/workflows/_build.yml
64
+ secrets :
65
+ node_auth_token : ${{ secrets.GH_TOKEN }}
64
66
install :
65
67
name : Install (Node.js v${{ matrix.node }} on ${{ matrix.os_name }})
66
68
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 12
12
build :
13
13
name : Build
14
14
uses : ./.github/workflows/_build.yml
15
+ secrets :
16
+ node_auth_token : ${{ secrets.GH_TOKEN }}
15
17
release :
16
18
name : GitHub Releases
17
19
runs-on : ubuntu-latest
55
57
registry_host : https://npm.pkg.github.com
56
58
secrets :
57
59
registry_token : ${{ secrets.GITHUB_TOKEN }}
60
+ node_auth_token : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments