Skip to content

chore: add github action #5

chore: add github action

chore: add github action #5

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: lint
run: npm run lint
- name: compile
run: npm run tsc && npm run compile
- name: test
run: npm run coverage