Skip to content

Commit

Permalink
used yarn in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aritroCoder committed Jun 10, 2023
1 parent 7f77b47 commit 4fe5c68
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Super-Linter
uses: super-linter/[email protected]
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

0 comments on commit 4fe5c68

Please sign in to comment.