Skip to content

beta: Beta OpenAPI file replicated from Notehub commit 72ababf #208

beta: Beta OpenAPI file replicated from Notehub commit 72ababf

beta: Beta OpenAPI file replicated from Notehub commit 72ababf #208

Workflow file for this run

name: Tests
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run build --if-present
- name: Run tests
run: npm test