mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-01 20:51:17 +00:00
Add test script and CI workflow
- Add top-level test script that runs tests across all workspaces - Add GitHub Actions workflow to run tests on PRs and merges to master Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
24
.github/workflows/test.yml
vendored
Normal file
24
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Run tests
|
||||
run: bun test
|
||||
@@ -7,6 +7,7 @@
|
||||
],
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "bun run --filter '*' test",
|
||||
"lint": "oxlint .",
|
||||
"lint:fix": "oxlint --fix .",
|
||||
"format": "oxfmt --write .",
|
||||
|
||||
Reference in New Issue
Block a user