This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
All #5
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: | |
# 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: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "swc version to use" | |
required: true | |
type: string | |
default: "nightly" | |
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_RELEASE: ${{ github.event.inputs.version }} | |
BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} |