File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
name : Node.js CI
5
5
6
- on : [push]
6
+ on :
7
+ push :
8
+ branches :
9
+ - main
10
+ pull_request :
11
+ types : [opened, synchronize]
12
+
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15
+ cancel-in-progress : true
7
16
8
17
jobs :
9
18
build :
10
19
runs-on : ubuntu-latest
11
20
12
21
steps :
13
22
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
14
- - uses : pnpm/action-setup@v2
23
+ - uses : pnpm/action-setup@v4
15
24
- uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
16
25
with :
17
- node-version-file : " .node-version"
18
- cache : " pnpm"
26
+ node-version-file : ' .node-version'
27
+ cache : ' pnpm'
19
28
- run : pnpm i
20
29
- run : pnpm run lint
21
30
- run : pnpm run build
You can’t perform that action at this time.
0 commit comments