Skip to content

Commit

Permalink
tests: linux only for now
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Dec 7, 2021
1 parent fa1e91c commit dba99fc
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,32 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]
# os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest]
fail-fast: false

steps:
- uses: actions/checkout@v2

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 6.15.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: "pnpm"

- name: Setup
run: npm i -g pnpm @antfu/ni

- name: Install
run: nci
- run: pnpm install

- name: Lint
run: nr lint --if-present
run: pnpm run lint

- name: Build
run: nr build
run: pnpm run build

- name: Test
run: nr test
run: pnpm run test

0 comments on commit dba99fc

Please sign in to comment.