File tree Expand file tree Collapse file tree 2 files changed +38
-13
lines changed Expand file tree Collapse file tree 2 files changed +38
-13
lines changed Original file line number Diff line number Diff line change 1
- name : Release
2
- on :
3
- push :
4
- branches :
5
- - main
1
+ name : Push
2
+ on : push
6
3
jobs :
7
4
release :
8
- name : Release
5
+ name : Build & Test
9
6
runs-on : ubuntu-latest
10
7
steps :
11
8
- name : Checkout
18
15
with :
19
16
node-version : 20
20
17
cache : pnpm
21
- - name : Install dependencies
22
- run : pnpm install --frozen-lockfile
23
- - name : Release
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
27
- run : pnpm semantic-release
18
+ - name : Install, Lint, Test
19
+ run : |
20
+ pnpm install --frozen-lockfile
21
+ pnpm lint
22
+ ppnm build
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ release :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+ - uses : pnpm/action-setup@v4
14
+ with :
15
+ version : 9
16
+ - name : Setup Node.js
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : 20
20
+ cache : pnpm
21
+ - name : Install dependencies
22
+ run : |
23
+ pnpm install --frozen-lockfile
24
+ pnpm lint
25
+ pbpm build
26
+ - name : Release
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
30
+ run : pnpm semantic-release
You can’t perform that action at this time.
0 commit comments