Skip to content

Update functionalscript to v0.24.0 and add CI workflow #4

Update functionalscript to v0.24.0 and add CI workflow

Update functionalscript to v0.24.0 and add CI workflow #4

Workflow file for this run

{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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.20260605.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": "fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "fjs t"
},
{
"run": "npm uninstall functionalscript -g"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "deno install"
},
{
"run": "deno task test"
},
{
"run": "deno task fjs compile issues/demo/data/tree.json _tree.f.js"
},
{
"run": "deno task fjs t"
},
{
"run": "deno publish --dry-run --allow-slow-types"
},
{
"run": "git reset --hard HEAD && git clean -fdx"
},
{
"run": "bun install"
},
{
"run": "bun test --timeout 20000"
},
{
"run": "bun ./fs/fjs/module.ts t"
},
{
"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"
}
]
}
}
}