@@ -16,29 +16,33 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
19+ - name : Install pnpm
20+ uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
1921 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2022 with :
2123 node-version : ' lts/*'
22- cache : ' npm '
24+ cache : ' pnpm '
2325
2426 - name : Install dependencies
25- run : npm ci
27+ run : pnpm install --frozen-lockfile
2628
2729 - name : Build
2830 run : |
29- npm run build
31+ pnpm run build
3032
3133 test :
3234 runs-on : ubuntu-latest
3335 steps :
3436 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
37+ - name : Install pnpm
38+ uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
3539 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3640 with :
3741 node-version : ' lts/*'
38- cache : ' npm '
42+ cache : ' pnpm '
3943
4044 - name : Install dependencies
41- run : npm ci
45+ run : pnpm install --frozen-lockfile
4246
4347 -
4448 # Required for the package command tests to work
@@ -47,36 +51,40 @@ jobs:
4751
4852 - name : Test
4953 run : |
50- npm test
54+ pnpm test
5155
5256 lint :
5357 runs-on : ubuntu-latest
5458 steps :
5559 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
60+ - name : Install pnpm
61+ uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
5662 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
5763 with :
5864 node-version : ' lts/*'
59- cache : ' npm '
65+ cache : ' pnpm '
6066
6167 - name : Install dependencies
62- run : npm ci
68+ run : pnpm install --frozen-lockfile
6369
6470 - name : Lint
6571 run : |
66- npm run lint
72+ pnpm run lint
6773
6874 format :
6975 runs-on : ubuntu-latest
7076 steps :
7177 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
78+ - name : Install pnpm
79+ uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
7280 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
7381 with :
7482 node-version : ' lts/*'
75- cache : ' npm '
83+ cache : ' pnpm '
7684
7785 - name : Install dependencies
78- run : npm ci
86+ run : pnpm install --frozen-lockfile
7987
8088 - name : Format
8189 run : |
82- npm run format:check
90+ pnpm run format:check
0 commit comments