Skip to content

ci(build): add centralized workflow #40

ci(build): add centralized workflow

ci(build): add centralized workflow #40

Workflow file for this run

name: Test & Build
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
pull-requests: write
statuses: read
jobs:
build-and-lint:
uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@c4d1030a26a3c9b41745b85e3f31cfba26c14409
with:
node-version: "20.x"
package-manager: "yarn"
prepare-command: "docker compose -f 'docker-compose.yml' up -d --build"
cleanup-command: "docker compose -f 'docker-compose.yml' down"
step-lint: true
step-format: true
step-test: true
step-build: true