We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c13e46 commit 83f930dCopy full SHA for 83f930d
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+concurrency:
9
+ group: ${{ github.head_ref || github.run_id }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ release:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ # Setup .npmrc file to publish to npm
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 'lts/*'
21
+ cache: 'npm'
22
+ registry-url: 'https://registry.npmjs.org'
23
+ - run: npm ci
24
+ - run: npm publish
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
0 commit comments