Skip to content

Commit 2ddfc8b

Browse files
Update publish.yml
1 parent a5505c0 commit 2ddfc8b

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Package
1+
name: Publish package
22
on:
33
release:
44
types: [published]
@@ -15,7 +15,7 @@ jobs:
1515
- run: npm run lint
1616
- run: npm run test
1717

18-
publish-npm:
18+
publish:
1919
needs: prepare
2020
permissions:
2121
id-token: write
@@ -31,21 +31,3 @@ jobs:
3131
- run: npm ci
3232
- run: npm run build
3333
- run: npm publish
34-
35-
publish-github:
36-
needs: prepare
37-
runs-on: ubuntu-latest
38-
permissions:
39-
contents: read
40-
packages: write
41-
steps:
42-
- uses: actions/checkout@v4
43-
- uses: actions/setup-node@v4
44-
with:
45-
node-version: 24
46-
registry-url: 'https://npm.pkg.github.com'
47-
- run: npm ci
48-
- run: npm run build
49-
- run: npm publish
50-
env:
51-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)