We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ca6dbb commit 636856fCopy full SHA for 636856f
.github/workflows/release.yml
@@ -0,0 +1,33 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ name: Build & publish package
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ - name: Node setup
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 22
20
+ cache: 'yarn'
21
+ token: ${{ secrets.GITHUB_TOKEN }}
22
+ registry-url: 'https://registry.npmjs.org'
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
25
26
+ - name: Install packages
27
+ run: yarn install
28
29
+ - name: Build
30
+ run: yarn build
31
32
+ - name: Publish
33
+ run: npm publish --access public
0 commit comments