This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
All #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: All | |
env: | |
CI: 1 | |
# 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 | |
on: | |
schedule: | |
# Once a day | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "swc version to use" | |
required: true | |
type: string | |
default: "nightly" | |
mode: | |
type: choice | |
description: "Passing is a regular procces, and ignored is about ignored tests" | |
options: | |
- "passing" | |
- "ignored" | |
jobs: | |
run-all: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
id: setup-node | |
continue-on-error: true | |
- run: corepack enable | |
- run: pnpm --version | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm tsx run-all.ts | |
env: | |
SWC_VERSION: ${{ github.event.inputs.version || 'nightly' }} | |
CI_MODE: ${{ github.event.inputs.mode || 'passing' }} | |
BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} |