Skip to content

Adopt a conservative LLM policy (from the Rust project). (#434) #33

Adopt a conservative LLM policy (from the Rust project). (#434)

Adopt a conservative LLM policy (from the Rust project). (#434) #33

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: latest
- run: make setup-without-playwright
- run: make lint-ci
- run: make lint-tsc-main
- run: make lint-tsc-lib
- run: make lint-tsc-lib-no-dom
- run: make lint-tsc-bin
- run: make lint-import-restrictions
- run: make check-schemas
- run: make check-for-duplicate-dependencies
- run: make format # note: not in `test-src` in `package.json`, only in CI
- run: make clean
- run: make reset # Should work the first time.
- run: make reset # Should work the second time (after deps are removed).
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: latest
- run: make setup-without-playwright
- run: make build-lib-js
- run: make build-bin
- run: make build-lib-types
- run: make build-sites
- run: make build-site-docs
- run: make clean
test-src:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: latest
- run: make setup
- run: make test-ts-bun-with-coverage
- run: make test-ts-dom-with-coverage
test-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: latest
- run: make setup
- run: make build-lib-js
- run: make test-dist-lib-node-import
- run: make test-dist-lib-node-scramble
- run: make test-dist-lib-node-scramble-all-events
- run: make test-dist-lib-perf
- run: make test-dist-lib-plain-esbuild-compat
- run: make test-dist-lib-build-size
- run: make build-bin
- run: make test-dist-bin
- run: make build-sites
- run: make test-dist-sites-twizzle
- run: make check-package.json
- run: make clean
test-dist-with-min-engine-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22.3.0
- run: make setup-without-playwright
- run: make build-lib-js
- run: make test-dist-lib-node-import
- run: make test-dist-lib-node-scramble
- run: make test-dist-lib-node-scramble-all-events
- run: make clean
check-fast:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: "true"
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: latest
- run: make setup-without-playwright
- run: time make check-fast