Skip to content

Release version 1.2.0 build 6 #185

Release version 1.2.0 build 6

Release version 1.2.0 build 6 #185

Workflow file for this run

name: Lint and test
on:
push:
branches:
- main
pull_request:
jobs:
cache-and-test:
name: Cache and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node and cache dependencies
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npm test -- --testTimeout 10000
tsc:
name: Run tsc
runs-on: ubuntu-latest
needs: cache-and-test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npx tsc
linter:
name: Run linter
runs-on: ubuntu-latest
needs: cache-and-test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npm run lint
prettier:
name: Run prettier
runs-on: ubuntu-latest
needs: cache-and-test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm install
- run: npx prettier . --check