Skip to content

Fix reg

Fix reg #339

Workflow file for this run

name: "Node.js CI"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Use Node.js 18.x"
uses: "actions/setup-node@v3"
with:
node-version: "18"
cache: "npm"
- run: "npm ci"
- run: "npm run build"
check:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Use Node.js 18.x"
uses: "actions/setup-node@v3"
with:
node-version: "18"
cache: "npm"
- run: "npm ci"
- run: "npm run check"
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Use Node.js 18.x"
uses: "actions/setup-node@v3"
with:
node-version: "18"
cache: "npm"
- run: "npm ci"
- run: "npm run lint"
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Use Node.js 18.x"
uses: "actions/setup-node@v3"
with:
node-version: "18"
cache: "npm"
- run: "npm ci"
- run: "npm exec vitest -- --run --coverage"
- uses: codecov/codecov-action@v3
tsc:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Use Node.js 18.x"
uses: "actions/setup-node@v3"
with:
node-version: "18"
cache: "npm"
- run: "npm ci"
- run: "npm run tsc"