@@ -145,12 +145,12 @@ jobs:
145
145
conclusion: ${{ job.status }}
146
146
check_id: ${{ steps.create-check.outputs.check-id }}
147
147
148
-
smoke-publish:
149
-
# This cant be tested on Windows because our node_modules directory
150
-
# checks in symlinks which are not supported there. This should be
151
-
# fixed somehow, because this means some forms of local development
152
-
# are likely broken on Windows as well.
153
-
name: Smoke Publish - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
148
+
smoke-tests:
149
+
# This cant be tested on Windows because our node_modules directory
150
+
# checks in symlinks which are not supported there. This should be
151
+
# fixed somehow, because this means some forms of local development
152
+
# are likely broken on Windows as well.
153
+
name: Smoke Tests - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
154
154
if: github.repository_owner == 'npm'
155
155
strategy:
156
156
fail-fast: false
@@ -182,7 +182,7 @@ jobs:
182
182
if: ${{ inputs.check-sha }}
183
183
uses: ./.github/actions/create-check
184
184
with:
185
-
name: "Smoke Publish - ${{ matrix.platform.name }} - ${{ matrix.node-version }}"
185
+
name: "Smoke Tests - ${{ matrix.platform.name }} - ${{ matrix.node-version }}"
186
186
token: ${{ secrets.GITHUB_TOKEN }}
187
187
sha: ${{ inputs.check-sha }}
188
188
- name: Setup Node
@@ -196,8 +196,69 @@ jobs:
196
196
run: node scripts/git-dirty.js
197
197
- name: Reset Deps
198
198
run: node scripts/resetdeps.js
199
-
- name: Smoke Publish
200
-
run: ./scripts/smoke-publish-test.sh
199
+
- name: Smoke Tests
200
+
run: ./scripts/smoke-tests.sh
201
+
- name: Conclude Check
202
+
uses: LouisBrunner/checks-action@v1.6.0
203
+
if: steps.create-check.outputs.check-id && always()
204
+
with:
205
+
token: ${{ secrets.GITHUB_TOKEN }}
206
+
conclusion: ${{ job.status }}
207
+
check_id: ${{ steps.create-check.outputs.check-id }}
208
+
209
+
publish-dryrun:
210
+
# This cant be tested on Windows because our node_modules directory
211
+
# checks in symlinks which are not supported there. This should be
212
+
# fixed somehow, because this means some forms of local development
213
+
# are likely broken on Windows as well.
214
+
name: Publish Dry-Run - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
215
+
if: github.repository_owner == 'npm'
216
+
strategy:
217
+
fail-fast: false
218
+
matrix:
219
+
platform:
220
+
- name: Linux
221
+
os: ubuntu-latest
222
+
shell: bash
223
+
node-version:
224
+
- 20.17.0
225
+
- 20.x
226
+
- 22.9.0
227
+
- 22.x
228
+
runs-on: ${{ matrix.platform.os }}
229
+
defaults:
230
+
run:
231
+
shell: ${{ matrix.platform.shell }}
232
+
steps:
233
+
- name: Checkout
234
+
uses: actions/checkout@v4
235
+
with:
236
+
ref: ${{ inputs.ref }}
237
+
- name: Setup Git User
238
+
run: |
239
+
git config --global user.email "npm-cli+bot@github.com"
240
+
git config --global user.name "npm CLI robot"
241
+
- name: Create Check
242
+
id: create-check
243
+
if: ${{ inputs.check-sha }}
244
+
uses: ./.github/actions/create-check
245
+
with:
246
+
name: "Publish Dry-Run - ${{ matrix.platform.name }} - ${{ matrix.node-version }}"
247
+
token: ${{ secrets.GITHUB_TOKEN }}
248
+
sha: ${{ inputs.check-sha }}
249
+
- name: Setup Node
250
+
uses: actions/setup-node@v4
251
+
id: node
252
+
with:
253
+
node-version: ${{ matrix.node-version }}
254
+
check-latest: contains(matrix.node-version, '.x')
255
+
cache: npm
256
+
- name: Check Git Status
257
+
run: node scripts/git-dirty.js
258
+
- name: Reset Deps
259
+
run: node scripts/resetdeps.js
260
+
- name: Publish Dry-Run
261
+
run: node ./scripts/publish.js --pack-destination=$RUNNER_TEMP --smoke-publish=true
201
262
- name: Conclude Check
202
263
uses: LouisBrunner/checks-action@v1.6.0
203
264
if: steps.create-check.outputs.check-id && always()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4