From c2f8c293c6efff8c960f1a13216ebb594b46f096 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 1 May 2021 00:22:26 +0530 Subject: [PATCH] Update checks.yml --- .github/workflows/checks.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a4f3291b4..e31889d09 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,17 +2,6 @@ name: Checks on: [pull_request] jobs: - build: - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: NodeJS build - uses: actions/setup-node@v1 - with: - node-version: 15.x - - run: npm ci - - run: npm run build --if-present validation: runs-on: ubuntu-latest steps: @@ -20,11 +9,15 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - - name: Installing dependencies + - name: Setup node v15 + uses: actions/setup-node@v1 + with: + node-version: '15' + - name: Install dependencies uses: borales/actions-yarn@v2.0.0 with: - cmd: install --ignore-engines - - name: Running tests + cmd: install --ignore-engines --frozen-lockfile + - name: Run tests uses: borales/actions-yarn@v2.0.0 with: cmd: test