mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
34 lines
757 B
YAML
34 lines
757 B
YAML
name: Run tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
check-lockfile:
|
|
name: check lockfile correctness
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
- name: Check that lockfile does not need an update
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
test-web:
|
|
name: web sanity check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 'lts/*'
|
|
- uses: pnpm/action-setup@v4
|
|
- run: .github/test.sh web
|
|
|
|
test-api:
|
|
name: api sanity check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
- run: .github/test.sh api |