fix case error with opa_id #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend PR Checks | |
on: # see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- "src/**/*" | |
- "package.json" | |
- "package-lock.json" | |
- "*.js" | |
jobs: | |
lint_and_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
cache-dependency-path: "package-lock.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Run lints | |
run: npm run lint | |
- name: Check the build | |
run: npm run build |