@@ -11,24 +11,26 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v3
14+ - uses : pnpm/action-setup@v2
1415 - uses : actions/setup-node@v3
1516 - name : Install Packages
16- run : yarn install
17+ run : pnpm install
1718 - name : Lint
1819 run : |+
19- yarn build
20- yarn lint
20+ pnpm run build
21+ pnpm run lint
2122 build :
2223 runs-on : ubuntu-latest
2324 steps :
2425 - uses : actions/checkout@v3
26+ - uses : pnpm/action-setup@v2
2527 - uses : actions/setup-node@v3
2628 - name : Install Packages
27- run : yarn install
29+ run : pnpm install
2830 - name : Build
2931 run : |+
30- yarn update
31- yarn build
32+ pnpm run update
33+ pnpm run build
3234 test :
3335 name : " Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
3436 runs-on : ${{ matrix.os }}
@@ -40,38 +42,39 @@ jobs:
4042 steps :
4143 - name : Checkout
4244 uses : actions/checkout@v3
45+ - uses : pnpm/action-setup@v2
4346 - name : Setup Node.js ${{ matrix.node }}
4447 uses : actions/setup-node@v3
4548 with :
4649 node-version : ${{ matrix.node }}
4750 - name : Remove @sveltejs/kit # Remove @sveltejs/kit because postinstall fails on old node.
48- # Use npm because yarn remove needs the lock file.
4951 run : |+
50- npm uninstall @sveltejs/kit --legacy-peer-deps
52+ pnpm rm @sveltejs/kit
5153 rm -rf node_modules
5254 - name : Install ESLint ${{ matrix.eslint }}
5355 run : |+
54- yarn add -D eslint@${{ matrix.eslint }} --ignore-engines
56+ pnpm install -D eslint@${{ matrix.eslint }}
5557 rm -rf node_modules
56- rm -rf yarn. lock
58+ rm -rf pnpm- lock.yaml
5759 if : matrix.eslint != 8
5860 - name : Install Packages
59- run : yarn install --ignore-engines
61+ run : pnpm install
6062 - name : Test
61- run : yarn test
63+ run : pnpm run test
6264 - name : Type Coverage
63- run : yarn typecov
65+ run : pnpm run typecov
6466 update-resources :
6567 runs-on : ubuntu-latest
6668 steps :
6769 - uses : actions/checkout@v3
70+ - uses : pnpm/action-setup@v2
6871 - uses : actions/setup-node@v3
6972 with :
7073 node-version : 18
7174 - name : Install Packages
72- run : yarn install --ignore-engines
75+ run : pnpm install
7376 - name : Update resources
74- run : yarn update
77+ run : pnpm run update
7578 - name : Check changes
7679 run : |
7780 git add --all && \
0 commit comments