We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d39f1f commit 2ba71dbCopy full SHA for 2ba71db
.github/workflows/publish.yml
@@ -0,0 +1,31 @@
1
+# reference: https://docs.npmjs.com/trusted-publishers#for-github-actions
2
+
3
+name: Publish
4
5
+on:
6
+ push:
7
+ tags:
8
+ - 'socket.io-parser@*'
9
10
+jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ id-token: write
16
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v6
20
21
+ - name: Use Node.js 24
22
+ uses: actions/setup-node@v6
23
+ with:
24
+ node-version: 24
25
+ registry-url: 'https://registry.npmjs.org'
26
27
+ - name: Install dependencies
28
+ run: npm ci
29
30
+ - name: Publish package
31
+ run: npm publish --tag v2-latest
0 commit comments