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