Skip to content

Commit ee2a470

Browse files
committed
Don't publish to GitHub
1 parent e386525 commit ee2a470

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/ci.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
@@ -47,13 +47,7 @@ jobs:
4747
run: npm pack
4848

4949
- name: Upload npm package artifact
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: npm-package
5353
path: '*.tgz'
54-
55-
- name: Publish to GitHub Packages
56-
if: github.ref == 'refs/heads/main'
57-
env:
58-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
run: npm publish ./*.tgz --registry=https://npm.pkg.github.com/

0 commit comments

Comments
 (0)