[Snyk] Security upgrade node from 22.8.0-bullseye-slim to 22.9.0-bullseye-slim #120
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
# This is a basic workflow to help you get started with Actions | |
name: build | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: List files in the repository | |
run: ls ${{ github.workspace }} | |
- name: Black Code Formatter | |
uses: lgeiger/black-action@master | |
with: | |
args: './backend --check --line-length 120' | |
- name: Build the stack | |
run: docker compose build | |
- name: Run backend UT | |
run: docker compose run backend pytest -p no:cacheprovider | |
- name: Run frontend UT | |
run: docker compose run frontend npm run test:all |