Skip to content

Merge pull request #126 from yidinghan/patch-1 #191

Merge pull request #126 from yidinghan/patch-1

Merge pull request #126 from yidinghan/patch-1 #191

Workflow file for this run

name: PR Builder
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
name: Node.js Build ${{ matrix.node }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [ 16.x, 18.x, 20.x ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Node dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test