Update ci.yml

This commit is contained in:
thehrz 2023-06-24 17:06:00 +08:00
parent 291cf5bd33
commit fc4a3a64ee
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -41,27 +41,20 @@ jobs:
- name: Typecheck - name: Typecheck
run: pnpm run typecheck run: pnpm run typecheck
test: test:
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
os: [ubuntu-latest]
fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3
uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: 16.x
registry-url: https://registry.npmjs.org/
cache: pnpm cache: pnpm
- run: pnpm install - name: Install
run: pnpm install
- run: pnpm run test:unit - run: pnpm run test:unit
# test-e2e: # test-e2e: