Skip to content

qwik-ecosystem-ci-selected #1

qwik-ecosystem-ci-selected

qwik-ecosystem-ci-selected #1

# integration tests for qwik ecosystem - single run of selected testsuite
name: qwik-ecosystem-ci-selected
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144
# configure corepack to be strict but not download newer versions or change anything
COREPACK_DEFAULT_TO_LATEST: 0
COREPACK_ENABLE_AUTO_PIN: 0
COREPACK_ENABLE_STRICT: 1
on:
workflow_dispatch:
inputs:
refType:
description: "type of qwik ref to use"
required: true
type: choice
options:
- branch
- tag
- commit
- release
default: "branch"
ref:
description: "qwik ref to use"
required: true
type: string
default: "main"
repo:
description: "qwik repository to use"
required: true
type: string
default: "QwikDev/qwik"
suite:
description: "testsuite to run"
required: true
type: choice
options:
- qwik-ui-headless
- qwik-image
jobs:
execute-selected-suite:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: jetli/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 20
id: setup-node
- run: corepack enable
- run: pnpm --version
- run: pnpm i --frozen-lockfile
- run: >-
pnpm tsx ecosystem-ci.ts
--${{ inputs.refType }} ${{ inputs.ref }}
--repo ${{ inputs.repo }}
${{ inputs.suite }}
id: ecosystem-ci-run