Skip to content

Commit 2ea1894

Browse files
authored
chore: update release support oidc publish (#254)
1 parent 91375f0 commit 2ea1894

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: release
33
on:
44
push:
55
tags:
6-
- "*"
6+
- '*.*.*'
77

88
permissions:
99
contents: write
10+
id-token: write
1011

1112
jobs:
1213
release:
@@ -15,6 +16,18 @@ jobs:
1516
- name: ⤵️ Checkout
1617
uses: actions/checkout@v4
1718

19+
- name: 🎉 Install Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 24
23+
registry-url: 'https://registry.npmjs.org'
24+
25+
- name: 📦 Install dependencies
26+
run: npm ci
27+
28+
- name: 🚀 Publish to npm
29+
run: npm publish --access public
30+
1831
- name: 📦 Package skills
1932
run: zip -r ../skills.zip .
2033
working-directory: skills

0 commit comments

Comments
 (0)