integrated sliding window rate limit on frontend client #6
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: CI Workflow Frontend (TypeScript) | |
on: | |
push: | |
paths: | |
- web/** | |
pull_request: | |
paths: | |
- web/** | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./web | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: npm install | |
- name: Check Linting | |
run: npm run lint | |
- name: Build Frontend | |
run: npm run build |