@@ -2,10 +2,10 @@ name: ci
2
2
3
3
on :
4
4
pull_request :
5
- branches : main
5
+ branches : [ main]
6
6
push :
7
- branches : main
8
- tags : v*
7
+ branches : [ main]
8
+ tags : [v*]
9
9
10
10
jobs :
11
11
test :
@@ -16,11 +16,11 @@ jobs:
16
16
fail-fast : false
17
17
matrix :
18
18
os : [ubuntu-latest, macos-latest, windows-latest]
19
- node-version : ['18', '20']
19
+ node-version : ['18', '20', '22' ]
20
20
21
21
steps :
22
22
- name : Checkout source
23
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
24
25
25
- name : Install Node.js and dependencies
26
26
uses : mcous/js/actions/setup@main
31
31
run : pnpm coverage
32
32
33
33
- name : Upload coverage
34
- uses : coverallsapp/github-action@f350da2c033043742f89e8c0b7b5145a1616da6d
34
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
35
35
with :
36
36
flag-name : node-${{ matrix.node-version }}-os-${{ matrix.os }}
37
37
parallel : true
42
42
needs : test
43
43
44
44
steps :
45
- - uses : coverallsapp/github-action@f350da2c033043742f89e8c0b7b5145a1616da6d
45
+ - uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
46
46
with :
47
47
parallel-finished : true
48
48
52
52
53
53
steps :
54
54
- name : Checkout source
55
- uses : actions/checkout@v3
55
+ uses : actions/checkout@v4
56
56
57
57
- name : Install Node.js and dependencies
58
58
uses : mcous/js/actions/setup@main
61
61
run : pnpm build-and-check
62
62
63
63
- name : Upload publish artifact
64
- uses : actions/upload-artifact@v3
64
+ uses : actions/upload-artifact@v4
65
65
with :
66
66
name : npm-dist
67
67
path : dist
@@ -78,16 +78,16 @@ jobs:
78
78
79
79
steps :
80
80
- name : Checkout source
81
- uses : actions/checkout@v3
81
+ uses : actions/checkout@v4
82
82
83
83
- name : Install Node.js
84
- uses : actions/setup-node@v3
84
+ uses : actions/setup-node@v4
85
85
with :
86
- node-version : ' 18 '
86
+ node-version : ' 22 '
87
87
registry-url : https://registry.npmjs.org
88
88
89
89
- name : Download publish artifact
90
- uses : actions/download-artifact@v3
90
+ uses : actions/download-artifact@v4
91
91
with :
92
92
name : npm-dist
93
93
path : dist
0 commit comments