We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4fd01a commit 2bc56ceCopy full SHA for 2bc56ce
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish Package to npmjs
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+
11
+ - name: Setup Node.js
12
+ uses: actions/setup-node@v4
13
+ with:
14
+ node-version: "20.x"
15
+ registry-url: "https://registry.npmjs.org"
16
17
+ - name: Install dependencies
18
+ run: yarn install --frozen-lockfile
19
20
+ - name: Build
21
+ run: yarn make
22
23
+ - name: Release latest
24
+ run: yarn releaseLatest
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments