Skip to content

Commit

Permalink
Updated Next versions and added lint:workspace (#4035)
Browse files Browse the repository at this point in the history
* Updated Next versions

* Added lint workspace job
  • Loading branch information
yury-dubinin authored Jan 27, 2025
1 parent 4d91181 commit b1be6c7
Show file tree
Hide file tree
Showing 12 changed files with 909 additions and 812 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unicorn": "^48.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-unused-imports": "^4.1.4",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down
Loading

0 comments on commit b1be6c7

Please sign in to comment.