File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
2
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
3
4
- name : shadowdriverJS-Beta -release
4
+ name : shadowdriverjs-beta -release
5
5
6
6
on :
7
7
release :
@@ -18,19 +18,16 @@ jobs:
18
18
- run : npm ci
19
19
- run : npm test
20
20
21
- publish-gpr :
21
+ publish-npm :
22
22
needs : build
23
23
runs-on : ubuntu-latest
24
- permissions :
25
- contents : read
26
- packages : write
27
24
steps :
28
25
- uses : actions/checkout@v4
29
26
- uses : actions/setup-node@v3
30
27
with :
31
28
node-version : 16
32
- registry-url : https://npm.pkg.github.com /
29
+ registry-url : https://registry.npmjs.org /
33
30
- run : npm ci
34
- - run : npm publish --public
31
+ - run : npm publish
35
32
env :
36
33
NODE_AUTH_TOKEN : ${{secrets.BETA_RELEASE}}
You can’t perform that action at this time.
0 commit comments