Skip to content

Commit 6e2a9ee

Browse files
committed
chore: 👷 Add release CI config
1 parent 624f534 commit 6e2a9ee

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/RELEASE.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'RELEASE'
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish_to_npm:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Install dependencies
14+
run: npm ci
15+
16+
- name: Build app
17+
run: npm run-script build
18+
19+
- uses: JS-DevTools/npm-publish@v1
20+
with:
21+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)