Skip to content

Commit af93ac8

Browse files
Merge pull request #7 from noodlescripter/main
release fixes
2 parents 79f2f14 + cffc14e commit af93ac8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/npm-publish-github-packages.yml renamed to .github/workflows/shadowdriverjs-beta-release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33

4-
name: shadowdriverJS-Beta-release
4+
name: shadowdriverjs-beta-release
55

66
on:
77
release:
@@ -18,19 +18,16 @@ jobs:
1818
- run: npm ci
1919
- run: npm test
2020

21-
publish-gpr:
21+
publish-npm:
2222
needs: build
2323
runs-on: ubuntu-latest
24-
permissions:
25-
contents: read
26-
packages: write
2724
steps:
2825
- uses: actions/checkout@v4
2926
- uses: actions/setup-node@v3
3027
with:
3128
node-version: 16
32-
registry-url: https://npm.pkg.github.com/
29+
registry-url: https://registry.npmjs.org/
3330
- run: npm ci
34-
- run: npm publish --public
31+
- run: npm publish
3532
env:
3633
NODE_AUTH_TOKEN: ${{secrets.BETA_RELEASE}}

0 commit comments

Comments
 (0)