File tree Expand file tree Collapse file tree 5 files changed +57
-43
lines changed
Expand file tree Collapse file tree 5 files changed +57
-43
lines changed Original file line number Diff line number Diff line change 1010 - " .github/workflows/acceptance.yml"
1111
1212env :
13- NODE_VERSION : 20 .x
13+ NODE_VERSION : 24 .x
1414 CYPRESS_RETRIES : 2
1515
1616jobs :
Original file line number Diff line number Diff line change 66 - main
77
88env :
9- node-version : 20 .x
9+ NODE_VERSION : 24 .x
1010 ADDON_NAME : volto-button-block
1111
1212jobs :
@@ -21,18 +21,13 @@ jobs:
2121 - name : Install pipx
2222 run : pip install towncrier
2323
24- - name : Use Node.js ${{ env.node-version }}
24+ - name : Use Node.js
2525 uses : actions/setup-node@v4
2626 with :
27- node-version : ${{ env.node-version }}
27+ node-version : ${{ env.NODE_VERSION }}
2828
29- - uses : pnpm/action-setup@v3
30- name : Install pnpm
31- with :
32- version : 8
33- # We don't want to install until later,
34- # when the cache and Cypress are in place
35- run_install : false
29+ - name : Enable corepack
30+ run : corepack enable
3631
3732 - name : Get pnpm store directory
3833 shell : bash
4843 ${{ runner.os }}-pnpm-store-
4944
5045 - name : Install dependencies
51- run : make install
46+ run : |
47+ make install
5248
5349 - name : Check for presence of a Change Log fragment (only pull requests)
5450 run : |
Original file line number Diff line number Diff line change 11name : Code analysis checks
2- on : [push]
2+ on :
3+ push :
4+ paths :
5+ - " *.js"
6+ - " *.json"
7+ - " *.yaml"
8+ - " packages/**"
9+ - " .github/workflows/code.yml"
10+
11+ env :
12+ NODE_VERSION : 24.x
13+
314jobs :
415 codeanalysis :
516 runs-on : ubuntu-latest
819 - name : Main checkout
920 uses : actions/checkout@v4
1021
11- - name : Use Node.js 20.x
22+ - name : Use Node.js
1223 uses : actions/setup-node@v4
1324 with :
14- node-version : 20.x
25+ node-version : ${{ env.NODE_VERSION }}
1526
16- - uses : pnpm/action-setup@v3
17- name : Install pnpm
18- with :
19- version : 8
20- # We don't want to install until later,
21- # when the cache and Cypress are in place
22- run_install : false
27+ - name : Enable corepack
28+ run : corepack enable
2329
2430 - name : Get pnpm store directory
2531 shell : bash
Original file line number Diff line number Diff line change 11name : i18n
2- on : [push]
2+ on :
3+ push :
4+ paths :
5+ - " *.js"
6+ - " *.json"
7+ - " *.yaml"
8+ - " packages/**"
9+ - " .github/workflows/i18n.yml"
10+
11+ env :
12+ NODE_VERSION : 24.x
13+
314jobs :
415 unit :
516 runs-on : ubuntu-latest
819 - name : Main checkout
920 uses : actions/checkout@v4
1021
11- - name : Use Node.js 20.x
22+ - name : Use Node.js
1223 uses : actions/setup-node@v4
1324 with :
14- node-version : 20.x
25+ node-version : ${{ env.NODE_VERSION }}
1526
16- - uses : pnpm/action-setup@v3
17- name : Install pnpm
18- with :
19- version : 8
20- # We don't want to install until later,
21- # when the cache and Cypress are in place
22- run_install : false
27+ - name : Enable corepack
28+ run : corepack enable
2329
2430 - name : Get pnpm store directory
2531 shell : bash
Original file line number Diff line number Diff line change 11name : Unit Tests
2- on : [push]
2+ on :
3+ push :
4+ paths :
5+ - " *.js"
6+ - " *.json"
7+ - " *.yaml"
8+ - " packages/**"
9+ - " .github/workflows/unit.yml"
10+
11+ env :
12+ NODE_VERSION : 24.x
13+
314jobs :
415 unit :
516 runs-on : ubuntu-latest
819 - name : Main checkout
920 uses : actions/checkout@v4
1021
11- - name : Use Node.js 20.x
22+ - name : Use Node.js
1223 uses : actions/setup-node@v4
1324 with :
14- node-version : 20.x
25+ node-version : ${{ env.NODE_VERSION }}
1526
16- - uses : pnpm/action-setup@v3
17- name : Install pnpm
18- with :
19- version : 8
20- # We don't want to install until later,
21- # when the cache and Cypress are in place
22- run_install : false
27+ - name : Enable corepack
28+ run : corepack enable
2329
2430 - name : Get pnpm store directory
2531 shell : bash
3844 run : make install
3945
4046 - name : Unit tests
41- run : make test-ci
47+ run : make ci-test
You can’t perform that action at this time.
0 commit comments