ci: specify node version
This commit is contained in:
@@ -8,10 +8,19 @@ jobs:
|
|||||||
checkin:
|
checkin:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [16.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'yarn'
|
||||||
- name: install
|
- name: install
|
||||||
run: yarn install
|
run: yarn install --frozen-lockfile
|
||||||
- name: build
|
- name: build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
- name: test
|
- name: test
|
||||||
|
|||||||
Reference in New Issue
Block a user