File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish Pull Requests
2- on : [push, pull_request]
2+ on :
3+ pull_request :
34
45jobs :
56 pr-package :
67 runs-on : ubuntu-latest
78 steps :
8- - run : npm install --global corepack@latest
9+ - uses : actions/checkout@v7
910 - run : corepack enable
10- - uses : actions/checkout@v4
1111 - name : Setup Node.js
12- uses : actions/setup-node@v4
12+ uses : actions/setup-node@v6
1313 with :
14- node-version : 20
14+ node-version : 24
1515 cache : " pnpm"
1616 - name : Install dependencies
17- run : pnpm install
17+ run : pnpm install --frozen-lockfile
1818 - name : Build
1919 run : pnpm build
2020 - name : Publish preview package
Original file line number Diff line number Diff line change 11name : Test
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
48
59jobs :
610 test :
711 runs-on : ubuntu-latest
812
913 steps :
10- - run : npm install --global corepack@latest
14+ - uses : actions/checkout@v7
1115 - run : corepack enable
12- - uses : actions/checkout@v4
1316 - name : Setup Node.js
14- uses : actions/setup-node@v4
17+ uses : actions/setup-node@v6
1518 with :
16- node-version : 20
19+ node-version : 24
1720 cache : " pnpm"
1821 - name : Install dependencies
19- run : pnpm install
22+ run : pnpm install --frozen-lockfile
2023 - name : Install playwright
2124 run : pnpm exec playwright install
2225 - name : Lint
@@ -39,16 +42,15 @@ jobs:
3942 - 19
4043 - latest
4144 steps :
42- - run : npm install --global corepack@latest
45+ - uses : actions/checkout@v7
4346 - run : corepack enable
44- - uses : actions/checkout@v4
4547 - name : Setup Node.js
46- uses : actions/setup-node@v4
48+ uses : actions/setup-node@v6
4749 with :
48- node-version : 20
50+ node-version : 24
4951 cache : " pnpm"
5052 - name : Install dependencies
51- run : pnpm install
53+ run : pnpm install --frozen-lockfile
5254 - name : Install legacy testing-library
5355 if : ${{ startsWith(matrix.react, '17') }}
5456 run : pnpm add -D @testing-library/react@12.1.4
You can’t perform that action at this time.
0 commit comments