This commit is contained in:
Thomas Sauter 2025-10-22 21:11:52 +02:00
parent 1fcceab8bb
commit eb656dbab6
Signed by: thomas.sauter
GPG key ID: 015161F81E6A3C65
4 changed files with 64 additions and 6 deletions

View file

@ -1,4 +1,4 @@
name: Build and push
name: Build and push (monorepo)
on:
workflow_call:
inputs:
@ -8,9 +8,9 @@ on:
PROJECT_ID:
required: true
type: string
jobs:
build:
name: Build and push
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Set current time

View file

@ -1,4 +1,4 @@
name: Build and push
name: Build and push (standalone)
on:
workflow_call:
inputs:
@ -6,8 +6,7 @@ on:
required: true
type: string
jobs:
build:
name: Build and push
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Set current time

45
.github/workflows/lint-monorepo.yaml vendored Normal file
View file

@ -0,0 +1,45 @@
name: Linting and type checking (monorepo)
on:
workflow_call:
inputs:
PACKAGE_WRITER_USERNAME:
required: true
type: string
jobs:
linting_type_checking:
runs-on: ubuntu-latest
env:
NO_YARN_POSTINSTALL: 1
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_API: ${{ vars.TURBO_API }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Node.js and Corepack
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Enable Corepack
run: |
corepack enable
- name: Install dependencies
run: |
yarn install --immutable --inline-builds
- name: Build packages
run: |
yarn run build:packages
- name: Lint source code (eslint)
run: |
yarn run lint
- name: Static type checking (TypeScript)
run: |
yarn run check-types