Skip to content

chore: update config #28

chore: update config

chore: update config #28

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches:
- main
jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['14', '16', '18']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: Test
run: pnpm test