Skip to content

Commit bd34dae

Browse files
authored
Create relase.yml
1 parent f02be08 commit bd34dae

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/relase.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 🎉 publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
pull_request:
9+
branches:
10+
- master
11+
12+
workflow_dispatch:
13+
14+
jobs:
15+
unit-test_and_lint:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- uses: pnpm/action-setup@v2
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 18
26+
cache: pnpm
27+
28+
- name: Install
29+
run: pnpm install --no-frozen-lockfile
30+
31+
- name: lint fix
32+
run: pnpm run lint:fix
33+
34+
- name: unit test
35+
run: pnpm run test
36+
37+
- name: publish
38+
run: pnpm run publish

0 commit comments

Comments
 (0)