Skip to content

ci: fix node v14 test (#9) #26

ci: fix node v14 test (#9)

ci: fix node v14 test (#9) #26

Workflow file for this run

name: Test
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Test
run: nr build && nr test