Skip to content

Commit

Permalink
fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
plxity committed Dec 5, 2024
1 parent 5c9135d commit 6345851
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/lint_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install pnpm
run: npm install -g pnpm
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm@8.15.7 && pnpm install

- name: Install packages in js folder
run: cd js && pnpm install --frozen-lockfile
run: cd js/ && pnpm install --frozen-lockfile

- name: Run ESLint
run: cd js && pnpm run eslint
run: cd js/ && pnpm run eslint
continue-on-error: false

- name: Run Prettier
run: cd js && pnpm run prettier:check
run: cd js/ && pnpm run prettier:check
continue-on-error: false

0 comments on commit 6345851

Please sign in to comment.