Update ci.yml
This commit is contained in:
parent
291cf5bd33
commit
fc4a3a64ee
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user