@@ -2,48 +2,48 @@ name: Build Metronome
22
33on :
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
99jobs :
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- 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+ 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