Skip to content

Commit

Permalink
Added lint workspace job
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-dubinin committed Jan 27, 2025
1 parent 26e96b2 commit a0f2cc6
Show file tree
Hide file tree
Showing 8 changed files with 720 additions and 695 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint-and-check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@ name: Lint and Check Format Workflow
on: [push]

jobs:
lint-workspace:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Cache dependencies
uses: actions/cache@v4
with:
path: "**/node_modules"
key: ${{ runner.OS }}-20.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-20.x-
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Lint workspace
run: yarn lint:workspace

test:
runs-on: ubuntu-latest
strategy:
Expand Down
Loading

0 comments on commit a0f2cc6

Please sign in to comment.