Update functionalscript to v0.24.0 and add CI workflow #10
Workflow file for this run
This file contains hidden or 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": "CI", | |
| "on": { | |
| "pull_request": {}, | |
| "merge_group": {} | |
| }, | |
| "jobs": { | |
| "ubuntu-intel": { | |
| "runs-on": "ubuntu-24.04", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "uses": "oven-sh/setup-bun@v2", | |
| "with": { | |
| "bun-version": "1.3.14" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g ./*.tgz" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "ubuntu-arm": { | |
| "runs-on": "ubuntu-24.04-arm", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "uses": "oven-sh/setup-bun@v2", | |
| "with": { | |
| "bun-version": "1.3.14" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g ./*.tgz" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "macos-intel": { | |
| "runs-on": "macos-26-intel", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "uses": "oven-sh/setup-bun@v2", | |
| "with": { | |
| "bun-version": "1.3.14" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g ./*.tgz" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "macos-arm": { | |
| "runs-on": "macos-26", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "uses": "oven-sh/setup-bun@v2", | |
| "with": { | |
| "bun-version": "1.3.14" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g ./*.tgz" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "windows-intel": { | |
| "runs-on": "windows-2025", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "uses": "oven-sh/setup-bun@v2", | |
| "with": { | |
| "bun-version": "1.3.14" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g (Get-ChildItem *.tgz).FullName" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "windows-arm": { | |
| "runs-on": "windows-11-arm", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g @typescript/native-preview@7.0.0-dev.20260606.1" | |
| }, | |
| { | |
| "uses": "denoland/setup-deno@v2", | |
| "with": { | |
| "deno-version": "2.8.2" | |
| } | |
| }, | |
| { | |
| "run": "irm bun.sh/install.ps1 | iex; \"$env:USERPROFILE\\.bun\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append" | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| }, | |
| { | |
| "run": "tsgo" | |
| }, | |
| { | |
| "run": "npm pack" | |
| }, | |
| { | |
| "run": "npm install -g (Get-ChildItem *.tgz).FullName" | |
| }, | |
| { | |
| "run": "npm uninstall file-server-example -g" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "deno install --frozen" | |
| }, | |
| { | |
| "run": "deno task test" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| }, | |
| { | |
| "run": "bun install" | |
| }, | |
| { | |
| "run": "bun test --timeout 20000" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| }, | |
| "node24": { | |
| "runs-on": "ubuntu-24.04", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "24.16.0" | |
| } | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx tsc" | |
| }, | |
| { | |
| "run": "npm test" | |
| }, | |
| { | |
| "run": "node --test" | |
| }, | |
| { | |
| "run": "npm run cov" | |
| } | |
| ] | |
| }, | |
| "playwright": { | |
| "runs-on": "ubuntu-24.04", | |
| "steps": [ | |
| { | |
| "uses": "actions/setup-node@v6", | |
| "with": { | |
| "node-version": "26.3.0" | |
| } | |
| }, | |
| { | |
| "uses": "actions/cache@v5", | |
| "with": { | |
| "path": "~/.cache/ms-playwright", | |
| "key": "ubuntu-24.04-playwright-1.60.0" | |
| } | |
| }, | |
| { | |
| "run": "npm install -g playwright@1.60.0" | |
| }, | |
| { | |
| "run": "playwright install-deps" | |
| }, | |
| { | |
| "run": "playwright install" | |
| }, | |
| { | |
| "uses": "actions/checkout@v6" | |
| }, | |
| { | |
| "run": "npm ci" | |
| }, | |
| { | |
| "run": "npx playwright test --browser=chromium" | |
| }, | |
| { | |
| "run": "npx playwright test --browser=firefox" | |
| }, | |
| { | |
| "run": "npx playwright test --browser=webkit" | |
| }, | |
| { | |
| "run": "git reset --hard HEAD && git clean -fdx" | |
| } | |
| ] | |
| } | |
| } | |
| } |