File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,15 @@ jobs:
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
13
- strategy :
14
- matrix :
15
- node-version : [18.x, 20.x]
16
-
17
13
steps :
18
14
- uses : actions/checkout@v4
19
- - uses : pnpm/action-setup@v3
15
+ - uses : pnpm/action-setup@v4
20
16
with :
21
17
version : latest
22
18
23
- - name : Use Node.js ${{ matrix.node-version }}
24
- uses : actions/setup-node@v4
19
+ - uses : actions/setup-node@v4
25
20
with :
26
- node-version : ${{ matrix.node-version }}
21
+ node-version : latest
27
22
28
23
- run : pnpm i
29
24
- run : pnpm lint
Original file line number Diff line number Diff line change @@ -11,19 +11,21 @@ jobs:
11
11
permissions :
12
12
contents : write
13
13
steps :
14
- - uses : actions/checkout@v4
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
15
16
with :
16
17
fetch-depth : 0
17
18
18
- - uses : actions/setup-node@v4
19
+ - name : Setup Node.js
20
+ uses : actions/setup-node@v4
19
21
with :
20
- node-version : " 20 "
22
+ node-version : latest
21
23
registry-url : " https://registry.npmjs.org/"
22
24
23
25
- name : Setup pnpm
24
26
uses : pnpm/action-setup@v3
25
27
with :
26
- version : 8
28
+ version : latest
27
29
28
30
- name : Install dependencies
29
31
run : pnpm install
32
34
id : get_version
33
35
run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
34
36
35
- - name : Update package.json version
37
+ - name : Update package.json and WebTorrent client versions
36
38
run : |
37
39
export TAG=$VERSION
38
40
node update-versions.js
You can’t perform that action at this time.
0 commit comments