Merge branch 'main' of https://github.com/sipe-team/sipethon-2_2 into… #53
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 CI | |
on: | |
pull_request: | |
branches: [main] | |
paths: 'frontend/**' | |
push: | |
branches: [main] | |
paths: 'frontend/**' | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
cache-dependency-path: frontend/yarn.lock | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check Lint | |
if: ${{ github.event_name == 'pull_request' }} | |
run: yarn lint |