Skip to content

update github workflows #118

update github workflows

update github workflows #118

Workflow file for this run

name: node-ci
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: ./.github/workflows/setup-node
- name: Lint
run: npm run lint
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Setup Node
uses: ./.github/workflows/setup-node
- name: Build
run: npm run build
- name: Test
run: npm test