Skip to content

Merge pull request #288 from DataRecce/feature/drc-387-bug-unable-to-… #631

Merge pull request #288 from DataRecce/feature/drc-387-bug-unable-to-…

Merge pull request #288 from DataRecce/feature/drc-387-bug-unable-to-… #631

Workflow file for this run

name: Lint by ESLint
on:
push:
branches:
- main
paths:
- "js/**"
pull_request:
branches:
- main
paths:
- "js/**"
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/[email protected]
with:
version: 8
- name: Install dependencies
working-directory: ./js
run: pnpm install --frozen-lockfile
- name: Run linters
working-directory: ./js
run: pnpm lint --max-warnings=0
- name: Build the static files
working-directory: ./js
run: pnpm build