File tree Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 88
99 strategy :
1010 matrix :
11- node-version : [12 .x]
11+ node-version : [22 .x]
1212
1313 steps :
1414 - name : Checkout repository
@@ -21,11 +21,14 @@ jobs:
2121 with :
2222 node-version : ${{ matrix.node-version }}
2323
24+ - name : Install PNPM
25+ run : npm install -g pnpm
26+
2427 - name : Install dependencies
25- run : yarn install
28+ run : pnpm install
2629
2730 - name : Run the tests
28- run : yarn test -- --coverage
31+ run : pnpm test -- --coverage
2932
3033 - name : Upload coverage to Codecov
3134 uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 77 runs-on : ${{ matrix.os }}
88 strategy :
99 matrix :
10- node : ['12 .x']
10+ node : ['22 .x']
1111 os : [ubuntu-latest, windows-latest, macOS-latest]
1212
1313 steps :
@@ -19,14 +19,17 @@ jobs:
1919 with :
2020 node-version : ${{ matrix.node }}
2121
22+ - name : Install PNPM
23+ run : npm install -g pnpm
24+
2225 - name : Install deps and build (with cache)
2326 uses : bahmutov/npm-install@v1
2427
2528 - name : Lint
26- run : yarn lint
29+ run : pnpm lint
2730
2831 - name : Test
29- run : yarn test --ci --coverage --maxWorkers=2
32+ run : pnpm test --ci --coverage --maxWorkers=2
3033
3134 - name : Build
32- run : yarn build
35+ run : pnpm build
Original file line number Diff line number Diff line change 99
1010 strategy :
1111 matrix :
12- node-version : [12 .x]
12+ node-version : [22 .x]
1313
1414 steps :
1515 - name : Checkout repository
@@ -22,11 +22,14 @@ jobs:
2222 with :
2323 node-version : ${{ matrix.node-version }}
2424
25+ - name : Install PNPM
26+ run : npm install -g pnpm
27+
2528 - name : Install dependencies
26- run : yarn install
29+ run : pnpm install
2730
2831 - name : Build Storybook
29- run : yarn build-storybook
32+ run : pnpm build-storybook
3033
3134 - name : Install Surge
3235 run : npm install --global surge
You can’t perform that action at this time.
0 commit comments