ci: the acceptance jobs run bun install before packing (prepack builds the package's declarations with the pinned TypeScript; without node_modules npm pack failed and every acceptance cell went red on 5ed787a); build-node names the missing install instead of a bare ENOENT
This commit is contained in:
parent
5ed787a8ca
commit
d72b199645
3 changed files with 9 additions and 0 deletions
|
|
@ -40,12 +40,15 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
node --version && bun --version
|
||||
bun install --frozen-lockfile
|
||||
bun tools/acceptance.ts run --runtime ${{ matrix.runtime }} --platform Linux --jobs 4 --out acceptance/Linux-${{ matrix.name }}.json
|
||||
- name: Acceptance matrix (Windows)
|
||||
if: ${{ matrix.platform == 'Windows' }}
|
||||
shell: pwsh
|
||||
run: |
|
||||
node --version; bun --version
|
||||
bun install --frozen-lockfile
|
||||
if ($LASTEXITCODE -ne 0) { throw "bun install failed" }
|
||||
bun tools/acceptance.ts run --runtime ${{ matrix.runtime }} --platform Windows --jobs 3 --out acceptance/Windows-${{ matrix.name }}.json
|
||||
if ($LASTEXITCODE -ne 0) { throw "acceptance matrix: red cells" }
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
|
|
@ -106,12 +106,17 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
node --version && bun --version
|
||||
# npm pack runs prepack, which builds the package's declarations with the pinned TypeScript
|
||||
bun install --frozen-lockfile
|
||||
bun tools/acceptance.ts run --runtime ${{ matrix.runtime }} --platform Linux --jobs 4 --out acceptance/Linux-${{ matrix.name }}.json
|
||||
- name: Acceptance matrix (Windows)
|
||||
if: ${{ matrix.platform == 'Windows' }}
|
||||
shell: pwsh
|
||||
run: |
|
||||
node --version; bun --version
|
||||
# npm pack runs prepack, which builds the package's declarations with the pinned TypeScript
|
||||
bun install --frozen-lockfile
|
||||
if ($LASTEXITCODE -ne 0) { throw "bun install failed" }
|
||||
bun tools/acceptance.ts run --runtime ${{ matrix.runtime }} --platform Windows --jobs 3 --out acceptance/Windows-${{ matrix.name }}.json
|
||||
if ($LASTEXITCODE -ne 0) { throw "acceptance matrix: red cells" }
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue