chore: update CI.yml
This commit is contained in:
parent
ffc6cd6a30
commit
f1d364c478
|
@ -1,20 +1,23 @@
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 19.x
|
||||||
- run: yarn install --frozen-lockfile
|
- name: Install deps
|
||||||
- run: yarn lint
|
run: yarn install --frozen-lockfile
|
||||||
- run: yarn build
|
- name: Lint
|
||||||
- run: yarn test
|
run: yarn lint
|
||||||
|
- name: Build
|
||||||
|
run: yarn build
|
||||||
|
- name: Test
|
||||||
|
run: yarn test
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue