File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change 10
10
version :
11
11
description : The version being published. This should be a valid semver version, such as `1.0.0`.
12
12
required : true
13
- default : ' '
13
+ default : " "
14
14
type : string
15
15
dry-run :
16
16
type : boolean
85
85
86
86
name : Publish to NPM
87
87
runs-on : ubuntu-latest
88
- environment : ' release'
88
+ environment : " release"
89
89
90
90
steps :
91
91
- name : Checkout code
@@ -107,31 +107,3 @@ jobs:
107
107
run : npm publish --provenance --tag ${{ needs.configure.outputs.vtag }} ${{ needs.configure.outputs.dry-run }}
108
108
env :
109
109
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
110
-
111
- publish-gh :
112
- needs :
113
- - configure
114
- - publish-npm # Don't publish to GitHub Packages until publishing to NPM is successfully completed
115
-
116
- name : Publish to GitHub Packages
117
- runs-on : ubuntu-latest
118
- environment : ' release'
119
-
120
- steps :
121
- - name : Checkout code
122
- uses : actions/checkout@v4
123
-
124
- - name : Setup Node
125
- uses : actions/setup-node@v3
126
- with :
127
- node-version : ${{ env.NODE_VERSION }}
128
- registry-url : ' https://npm.pkg.github.com'
129
- cache : npm
130
-
131
- - name : Install dependencies
132
- run : npm ci
133
-
134
- - name : Publish release to GitHub Packages
135
- run : npm publish --provenance --tag ${{ needs.configure.outputs.vtag }} ${{ needs.configure.outputs.dry-run }}
136
- env :
137
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments