Skip to content

Update npm non-major dependencies (#456) #108

Update npm non-major dependencies (#456)

Update npm non-major dependencies (#456) #108

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