From d528bfbece7f07bc2e65f0184028bcd6971f57a7 Mon Sep 17 00:00:00 2001 From: Christophe Diederichs Date: Mon, 20 May 2024 11:27:58 +0100 Subject: [PATCH] add manual test workflow --- .github/workflows/manual.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/manual.yaml diff --git a/.github/workflows/manual.yaml b/.github/workflows/manual.yaml new file mode 100644 index 00000000..85d93b83 --- /dev/null +++ b/.github/workflows/manual.yaml @@ -0,0 +1,30 @@ +# manual test for autobase +on: + workflow_dispatch: + inputs: + refToTest: + description: 'Branch, tag or commit SHA1 to test' + required: true + type: string + +env: + BRITTLE_TIMEOUT: 60000 +jobs: + deploy: + runs-on: ${{ matrix.os }} + strategy: + matrix: + node-version: [lts/*] + os: [ubuntu-latest, macos-latest, windows-latest] + timeout-minutes: 30 + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 https://github.com/actions/checkout/releases/tag/v4.1.1 + with: + ref: ${{ inputs.refToTest }} + - name: install node + uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 https://github.com/actions/setup-node/releases/tag/v3.8.2 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test + - run: npm test -- --encrypt-all