From 4fe5c68c7d40843b384e90b6bb93959ab049e264 Mon Sep 17 00:00:00 2001 From: aritroCoder Date: Sat, 10 Jun 2023 15:17:17 +0530 Subject: [PATCH] used yarn in github actions --- .github/workflows/lint.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1c68cd4..f3d1c9c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,8 +10,17 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Super-Linter - uses: super-linter/super-linter@v5.0.0 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Set Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + + - name: Code linter + uses: borales/actions-yarn@v4 + with: + cmd: lint