Skip to content

Beds 162/api message #1743

Beds 162/api message

Beds 162/api message #1743

name: Frontend Linter
on:
push:
paths:
- 'frontend/**'
branches:
- main
- staging
pull_request:
paths:
- 'frontend/**'
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
frontend-lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node Environment
uses: actions/setup-node@v4
with:
node-version: 21
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install Dependencies
working-directory: frontend
env:
FA_PRO_KEY: ${{ secrets.FA_PRO_KEY }}
run: npm --userconfig=".npmrc_ci" ci
- name: Lint Files
working-directory: frontend
run: npm run lint