Skip to content

Commit

Permalink
ci: update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yuler committed Jan 4, 2024
1 parent bb4b2bc commit 78ef7a6
Show file tree
Hide file tree
Showing 2 changed files with 703 additions and 683 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,18 @@ jobs:
ci:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Setup pnpm
uses: pnpm/action-setup@v2.0.1
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
version: 7
node-version-file: '.nvmrc'

- name: Install dependencies & Build
run: pnpm install
- run: pnpm run --if-present build
run: |
corepack enable
pnpm install
pnpm run --if-present build
- name: Run tests
run: pnpm run --if-present test
Loading

0 comments on commit 78ef7a6

Please sign in to comment.