chore: update CI.yml

This commit is contained in:
Patryk Osmaczko 2023-03-06 21:11:41 +01:00 committed by osmaczko
parent ffc6cd6a30
commit f1d364c478
1 changed files with 13 additions and 10 deletions

View File

@ -1,20 +1,23 @@
name: CI
on:
pull_request:
push:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
node-version: 19.x
- name: Install deps
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test