Skip to content

Commit

Permalink
fix: update node version for lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMicai committed Feb 9, 2025
1 parent 2e69ead commit 6de5782
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Generate Prisma client
run: yarn prisma generate
- name: Run lint
run: yarn lint
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Generate Prisma client
run: yarn prisma generate

- name: Run lint
run: yarn lint

0 comments on commit 6de5782

Please sign in to comment.