Skip to content

docs: update example module type (#40) #79

docs: update example module type (#40)

docs: update example module type (#40) #79

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: [16.x, 18.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup
run: npm i -g pnpm @antfu/ni
- name: Install
run: nci
- name: Build
run: nr build
- name: Test
run: nr test --if-present