Skip to content

feat(types)!: move to TypeScript #1

feat(types)!: move to TypeScript

feat(types)!: move to TypeScript #1

Workflow file for this run

name: Commit check (lint, tests)
on:
workflow_dispatch:
push:
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test and cover
run: npm run cover