From f1d364c478ba8f1ed8e2e0e051de8093f0667e24 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Mon, 6 Mar 2023 21:11:41 +0100 Subject: [PATCH] chore: update CI.yml --- .github/workflows/CI.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d026318..2fbe183 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 +