Skip to content

Merge pull request #1 from caido/ib-add-workflow-schema #8

Merge pull request #1 from caido/ib-add-workflow-schema

Merge pull request #1 from caido/ib-add-workflow-schema #8

Workflow file for this run

name: Tests
on:
pull_request:
types:
- review_requested
push:
branches:
- 'main'
concurrency:
group: tests-${{ github.ref_name }}
cancel-in-progress: true
jobs:
test-js:
name: 'Test javascript'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Run linter
run: pnpm lint
- name: Run typechecker
run: pnpm typecheck
- name: Run tests
run: pnpm test