Skip to content

add github test workflow #5

add github test workflow

add github test workflow #5

Workflow file for this run

name: Test and lint
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
branches: ["**"]
jobs:
check:
name: Test and lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: "16.15.1"
# - name: NPM v7
# run: npm install -g npm@7 --registry=https://registry.npmjs.org
- run: cd tests && npm i && npm run test
- run: npm i
- run: npm run test
- run: cd packages/convex-helpers && npm i && npm run test && npm run lint && npm run arethetypeswrong -- --ignore-rules cjs-resolves-to-esm