We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ce03c commit 697a749Copy full SHA for 697a749
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,33 @@
1
+name: publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
8
+permissions:
9
+ contents: read
10
+ packages: write
11
12
+jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v6
18
19
+ - name: Use Node.js
20
+ uses: actions/setup-node@v6
21
+ with:
22
+ registry-url: https://npm.pkg.github.com
23
+ scope: '@remarkablemark'
24
25
+ - name: Install dependencies
26
+ run: npm ci --prefer-offline
27
+ env:
28
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
30
+ - name: Publish package
31
+ run: npm publish
32
33
+ NODE_AUTH_TOKEN: ${{ github.token }}
0 commit comments