2024-05-17 16:12:35 +00:00
|
|
|
name: Run tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
2024-05-28 07:00:58 +00:00
|
|
|
check-lockfile:
|
|
|
|
name: check lockfile correctness
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-08-03 09:50:24 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-08-03 09:32:42 +00:00
|
|
|
- uses: pnpm/action-setup@v4
|
2024-05-28 07:00:58 +00:00
|
|
|
- name: Check that lockfile does not need an update
|
2024-08-03 09:29:29 +00:00
|
|
|
run: pnpm install --frozen-lockfile
|
2024-05-28 07:00:58 +00:00
|
|
|
|
2024-05-17 16:12:35 +00:00
|
|
|
test-web:
|
|
|
|
name: web sanity check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-08-03 09:50:24 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
|
|
with:
|
2024-08-03 09:52:46 +00:00
|
|
|
node-version: 'lts/*'
|
2024-08-03 09:32:42 +00:00
|
|
|
- uses: pnpm/action-setup@v4
|
2024-08-03 09:50:24 +00:00
|
|
|
- run: .github/test.sh web
|
2024-05-17 16:12:35 +00:00
|
|
|
|
|
|
|
test-api:
|
|
|
|
name: api sanity check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-08-03 09:50:24 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-08-03 09:32:42 +00:00
|
|
|
- uses: pnpm/action-setup@v4
|
2024-09-07 17:07:39 +00:00
|
|
|
- run: .github/test.sh api
|