ci: pack exe before running the tests [skip ci test]

This commit is contained in:
Amin Yahyaabadi 2022-01-30 19:01:34 -08:00
parent 454f319514
commit c7acc73aa7
2 changed files with 9 additions and 8 deletions

View File

@ -53,13 +53,6 @@ jobs:
run: |
pnpm install
# - name: Setup SSH debugging session
# uses: mxschmitt/action-tmate@v3
- name: Test
run: |
pnpm run test
# Create self-contained executable that bundles Nodejs
- name: Create Executable
run: |
@ -73,6 +66,14 @@ jobs:
./dist
retention-days: 1
# - name: Setup SSH debugging session
# uses: mxschmitt/action-tmate@v3
- name: Test
if: "!contains(github.event.head_commit.message, '[skip ci test]')"
run: |
pnpm run test
Docker:
runs-on: ${{ matrix.os }}
strategy:

View File

@ -4,7 +4,7 @@ import { isValidUrl } from "../../utils/http/validate_url"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
import { isGitHubCI } from "../../utils/env/isci"
jest.setTimeout(300000)
jest.setTimeout(400000)
async function testUrl(version: string) {
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)