fix url to logout (#451) #92
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: Build and lint frontend | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths-ignore: | |
- bff/** | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths-ignore: | |
- bff/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Test & Build | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Enable Corepack to use yarn version > 1 | |
run: corepack enable | |
- name: install dependencies | |
working-directory: ./frontend | |
run: yarn --immutable | |
- name: install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: run eslint | |
working-directory: ./frontend | |
run: yarn lint | |
- name: run build | |
working-directory: ./frontend | |
run: yarn build |