|
23 | 23 | 8.0.x |
24 | 24 | 9.0.x |
25 | 25 |
|
26 | | - - run: npm install -g pnpm@11 |
27 | | - - run: pnpm install --frozen-lockfile |
| 26 | + - uses: ./.github/actions/setup-js |
28 | 27 | - run: dotnet restore |
29 | 28 | - run: dotnet build --no-restore --configuration Release /WarnAsError |
30 | 29 | - run: dotnet test --no-build --configuration Release |
|
51 | 50 | 8.0.x |
52 | 51 | 9.0.x |
53 | 52 |
|
54 | | - - run: npm install -g pnpm@11 |
55 | | - - run: pnpm install --frozen-lockfile |
56 | | - working-directory: ${{ github.workspace }} |
| 53 | + - uses: ./.github/actions/setup-js |
57 | 54 |
|
58 | 55 | - run: pnpm coalesce |
59 | 56 | - run: pnpm build |
|
81 | 78 | - name: Update npm |
82 | 79 | run: npm install -g npm@latest |
83 | 80 |
|
84 | | - - name: Install pnpm |
85 | | - run: npm install -g pnpm@11 |
86 | | - |
87 | | - - run: pnpm install --frozen-lockfile |
88 | | - working-directory: ${{ github.workspace }} |
| 81 | + - uses: ./.github/actions/setup-js |
89 | 82 |
|
90 | 83 | - run: pnpm lint |
91 | 84 |
|
@@ -116,9 +109,7 @@ jobs: |
116 | 109 | steps: |
117 | 110 | - uses: actions/checkout@v6 |
118 | 111 |
|
119 | | - - run: npm install -g pnpm@11 |
120 | | - - run: pnpm install --frozen-lockfile |
121 | | - working-directory: ${{ github.workspace }} |
| 112 | + - uses: ./.github/actions/setup-js |
122 | 113 |
|
123 | 114 | - name: pnpm test |
124 | 115 | run: pnpm test |
@@ -147,9 +138,7 @@ jobs: |
147 | 138 | steps: |
148 | 139 | - uses: actions/checkout@v6 |
149 | 140 |
|
150 | | - - run: npm install -g pnpm@11 |
151 | | - - run: pnpm install --frozen-lockfile |
152 | | - working-directory: ${{ github.workspace }} |
| 141 | + - uses: ./.github/actions/setup-js |
153 | 142 |
|
154 | 143 | - name: pnpm test |
155 | 144 | run: pnpm test |
@@ -183,13 +172,7 @@ jobs: |
183 | 172 | steps: |
184 | 173 | - uses: actions/checkout@v6 |
185 | 174 |
|
186 | | - - uses: actions/setup-node@v6 |
187 | | - with: |
188 | | - node-version: 24.x |
189 | | - |
190 | | - - run: npm install -g pnpm@11 |
191 | | - - run: pnpm install --frozen-lockfile |
192 | | - working-directory: ${{ github.workspace }} |
| 175 | + - uses: ./.github/actions/setup-js |
193 | 176 |
|
194 | 177 | - run: pnpm build-local-deps # build coalesce-vue |
195 | 178 | - run: pnpm build |
@@ -220,9 +203,7 @@ jobs: |
220 | 203 | # fetch all commits to get last updated time or other git log info |
221 | 204 | fetch-depth: 0 |
222 | 205 |
|
223 | | - - run: npm install -g pnpm@11 |
224 | | - - run: pnpm install --frozen-lockfile |
225 | | - working-directory: ${{ github.workspace }} |
| 206 | + - uses: ./.github/actions/setup-js |
226 | 207 |
|
227 | 208 | - name: Build docs |
228 | 209 | run: pnpm build |
@@ -276,13 +257,11 @@ jobs: |
276 | 257 | 8.0.x |
277 | 258 | 9.0.x |
278 | 259 |
|
279 | | - - name: Use Node.js |
280 | | - uses: actions/setup-node@v6 |
| 260 | + - uses: actions/setup-node@v6 |
281 | 261 | with: |
282 | 262 | node-version: 24.x |
283 | 263 |
|
284 | | - - name: Install pnpm |
285 | | - run: npm install -g pnpm@11 |
| 264 | + - run: npm install -g pnpm@11 |
286 | 265 |
|
287 | 266 | - name: Download Artifacts |
288 | 267 | uses: actions/download-artifact@v8 |
|
0 commit comments