|
|
|
@ -45,31 +45,3 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Typecheck
|
|
|
|
|
run: nr type-check
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
node: [18.x]
|
|
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
|
fail-fast: false
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- name: Set node ${{ matrix.node }}
|
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node }}
|
|
|
|
|
|
|
|
|
|
- name: Setup
|
|
|
|
|
run: npm i -g @antfu/ni
|
|
|
|
|
|
|
|
|
|
- name: Install
|
|
|
|
|
run: nci
|
|
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
|
run: nr build
|
|
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
|
run: nr preview
|
|
|
|
|