Skip to content

Commit fd8cdb7

Browse files
committed
update build-website node version
1 parent 5a74f8e commit fd8cdb7

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

β€Ž.github/workflows/build-website.ymlβ€Ž

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,48 @@ name: Build Metronome
22

33
on:
44
push:
5-
branches: [ main, v1.1.x ]
5+
branches: [main, v1.1.x]
66
pull_request:
7-
branches: [ main, v1.1.x ]
7+
branches: [main, v1.1.x]
88

99
jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout πŸ›ŽοΈ
15-
uses: actions/checkout@master
16-
17-
- name: Setup Node πŸ”§
18-
uses: actions/setup-node@v3
19-
with:
20-
node-version: '10'
21-
22-
- name: Run lint
23-
run: |
24-
yarn
25-
make lint
14+
- name: Checkout πŸ›ŽοΈ
15+
uses: actions/checkout@master
16+
17+
- name: Setup Node πŸ”§
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: '20'
21+
22+
- name: Run lint
23+
run: |
24+
yarn
25+
make lint
2626
2727
build:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- name: Checkout πŸ›ŽοΈ
32-
uses: actions/checkout@master
33-
34-
- name: Setup Node πŸ”§
35-
uses: actions/setup-node@v3
36-
with:
37-
node-version: '10'
38-
39-
- name: Install and Build πŸ”§
40-
run: |
41-
yarn install
42-
yarn build
43-
44-
- name: Deploy πŸš€
45-
if: github.ref == 'refs/heads/main'
46-
uses: JamesIves/[email protected]
47-
with:
48-
branch: gh-pages # The branch the action should deploy to. It should be any branch other than `main`
49-
folder: dist # The folder the action should deploy.
31+
- name: Checkout πŸ›ŽοΈ
32+
uses: actions/checkout@master
33+
34+
- name: Setup Node πŸ”§
35+
uses: actions/setup-node@v3
36+
with:
37+
node-version: '20'
38+
39+
- name: Install and Build πŸ”§
40+
run: |
41+
yarn install
42+
yarn build
43+
44+
- name: Deploy πŸš€
45+
if: github.ref == 'refs/heads/main'
46+
uses: JamesIves/[email protected]
47+
with:
48+
branch: gh-pages # The branch the action should deploy to. It should be any branch other than `main`
49+
folder: dist # The folder the action should deploy.

0 commit comments

Comments
Β (0)