@@ -20,12 +20,15 @@ jobs:
2020 uses : actions/checkout@v3
2121 with :
2222 fetch-depth : 0
23+ - uses : pnpm/action-setup@v4
24+ with :
25+ version : 10.33.0
2326 - uses : actions/setup-node@v3
2427 with :
2528 node-version-file : .nvmrc
26- cache : npm
29+ cache : pnpm
2730 - name : Install package dependencies
28- run : npm ci
31+ run : pnpm install --frozen-lockfile
2932 - name : Run commitlint
3033 uses : wagoid/commitlint-github-action@v5
3134 lint :
@@ -34,30 +37,36 @@ jobs:
3437 steps :
3538 - name : Checkout
3639 uses : actions/checkout@v3
40+ - uses : pnpm/action-setup@v4
41+ with :
42+ version : 10.33.0
3743 - uses : actions/setup-node@v3
3844 with :
3945 node-version-file : .nvmrc
40- cache : npm
46+ cache : pnpm
4147 - name : Install package dependencies
42- run : npm ci
48+ run : pnpm install --frozen-lockfile
4349 - name : Run Biome
44- run : npm run lint
50+ run : pnpm run lint
4551 - name : Run Knip
46- run : npm run knip
52+ run : pnpm run knip
4753 build-check :
4854 name : Build check
4955 runs-on : ubuntu-latest
5056 steps :
5157 - name : Checkout
5258 uses : actions/checkout@v3
59+ - uses : pnpm/action-setup@v4
60+ with :
61+ version : 10.33.0
5362 - uses : actions/setup-node@v3
5463 with :
5564 node-version-file : .nvmrc
56- cache : npm
65+ cache : pnpm
5766 - name : Install package dependencies
58- run : npm ci
67+ run : pnpm install --frozen-lockfile
5968 - name : Run build check
60- run : npm run build:check
69+ run : pnpm run build:check
6170 test-units-and-cover :
6271 name : Unit Tests And Coverage
6372 runs-on : ubuntu-latest
@@ -68,16 +77,19 @@ jobs:
6877 steps :
6978 - name : Checkout
7079 uses : actions/checkout@v3
80+ - uses : pnpm/action-setup@v4
81+ with :
82+ version : 10.33.0
7183 - uses : actions/setup-node@v3
7284 with :
7385 node-version-file : .nvmrc
74- cache : npm
86+ cache : pnpm
7587 - name : Install package dependencies
76- run : npm ci
88+ run : pnpm install --frozen-lockfile
7789 - name : Run unit tests
78- run : npm run test:unit
90+ run : pnpm run test:unit
7991 - name : Run coverage for unit tests
80- run : npm run cover:unit
92+ run : pnpm run cover:unit
8193 if : ${{ always() }}
8294 - uses : actions/upload-artifact@v4
8395 name : Upload coverage report for unit tests
@@ -103,11 +115,14 @@ jobs:
103115 steps :
104116 - name : Checkout
105117 uses : actions/checkout@v3
118+ - uses : pnpm/action-setup@v4
119+ with :
120+ version : 10.33.0
106121 - uses : actions/setup-node@v3
107122 with :
108123 node-version-file : .nvmrc
109124 - name : Run integration tests
110- run : npm run docker:test:integration
125+ run : pnpm run docker:test:integration
111126 - name : Generate Cucumber report annotations
112127 uses : deblockt/cucumber-report-annotations-action@v1.7
113128 if : ${{ always() }}
@@ -116,7 +131,7 @@ jobs:
116131 access-token : ${{ secrets.GITHUB_TOKEN }}
117132 path : .test-reports/integration/report.json
118133 - name : Run coverage for integration tests
119- run : npm run docker:cover:integration
134+ run : pnpm run docker:cover:integration
120135 - name : Coveralls
121136 uses : coverallsapp/github-action@master
122137 if : ${{ always() }}
@@ -151,11 +166,14 @@ jobs:
151166 uses : actions/checkout@v3
152167 with :
153168 fetch-depth : 0
169+ - uses : pnpm/action-setup@v4
170+ with :
171+ version : 10.33.0
154172 - uses : actions/setup-node@v3
155173 with :
156174 node-version-file : .nvmrc
157- cache : npm
175+ cache : pnpm
158176 - name : Install package dependencies
159- run : npm ci
177+ run : pnpm install --frozen-lockfile
160178 - name : Check for changeset
161- run : npx changeset status --since origin/${{ github.base_ref }}
179+ run : pnpm exec changeset status --since origin/${{ github.base_ref }}
0 commit comments