docs: license 2025 #4
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 for frontend | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened] | |
branches: [master, develop] | |
paths: | |
- 'frontend/**/*.ts' | |
- 'frontend/**/*.tsx' | |
push: | |
branches: [master, develop] | |
paths: | |
- 'frontend/**/*.ts' | |
- 'frontend/**/*.tsx' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: | | |
cd ${{ github.workspace }}/frontend | |
npm install | |
- name: Run Code Style Checks | |
run: | | |
cd ${{ github.workspace }}/frontend | |
npm run eslint |