Skip to content

Added GitHub workflows #1

Added GitHub workflows

Added GitHub workflows #1

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Compile TypeScript
run: npm run test:tsc
- name: Run lint
run: npm run test:lint
- name: Check formatting
run: npm run test:prettier
- name: Run tests
run: npm run test:jest