ci: set node to 16
This commit is contained in:
parent
9d5fd33d6d
commit
e019b14add
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -11,6 +11,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set node version to 16
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- name: Run unit tests
|
||||
run: yarn test --ci
|
||||
@ -19,6 +23,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set node version to 16
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- name: Run type declaration tests
|
||||
run: yarn test-dts
|
||||
@ -29,6 +37,10 @@ jobs:
|
||||
CI_JOB_NUMBER: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set node version to 16
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: bahmutov/npm-install@v1
|
||||
|
||||
- name: Check build size
|
||||
|
Loading…
Reference in New Issue
Block a user