fix: Feat/flow (#132)

* fix

* fix

* fix

* fix

* Update docker.yml

* Update auto-release.yml

* Update pr-checker.yml

* Update pr-checker.yml

* fix: citation version

---------

Co-authored-by: Théo LAGACHE <theo.lagache@soluce-technologies.com>
This commit is contained in:
Théo LAGACHE
2026-03-04 12:57:56 +01:00
committed by GitHub
co-authored by Théo LAGACHE
parent c6e0921dea
commit d4229a985d
2 changed files with 31 additions and 41 deletions
+30 -30
View File
@@ -7,41 +7,41 @@ on:
- dev - dev
jobs: jobs:
dry-run: validate-code:
name: Dry run name: Code Integrity Check
runs-on: ${{ matrix.platform == 'linux/amd64' && 'ubuntu-latest' || 'ubuntu-24.04-arm' }} runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: [linux/amd64, linux/arm64]
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Docker Buildx - name: Setup pnpm
uses: docker/setup-buildx-action@v3 uses: pnpm/action-setup@v4
- name: Build image - name: Setup Node.js
uses: docker/build-push-action@v6 uses: actions/setup-node@v4
with: with:
context: . node-version: "lts/*"
file: ./docker/dockerfile/Dockerfile cache: "pnpm"
platforms: ${{ matrix.platform }}
push: false
tags: portabase/portabase:pr-${{ github.event.number }}
cache-from: type=gha,scope=build-${{ matrix.platform }}
cache-to: type=gha,mode=max,scope=build-${{ matrix.platform }}
- name: Prepare Artifact Data - name: Install dependencies
id: prep run: pnpm install --frozen-lockfile
run: |
SAFE_PLATFORM=${{ matrix.platform == 'linux/amd64' && 'linux-amd64' || 'linux-arm64' }}
echo "safe_platform=$SAFE_PLATFORM" >> $GITHUB_OUTPUT
echo "portabase/portabase:pr-${{ github.event.number }}" > image.txt
- name: Upload Artifact - name: Check code formatting
uses: actions/upload-artifact@v4 run: pnpm run format:check
with: continue-on-error: true
name: image-${{ steps.prep.outputs.safe_platform }}
path: image.txt - name: Run Linter
retention-days: 1 run: pnpm run lint
continue-on-error: true
- name: Type Check
run: pnpm run typecheck
continue-on-error: true
- name: Run Tests
run: pnpm run test
continue-on-error: true
- name: Test Application Build
run: pnpm run build
+1 -11
View File
@@ -16,17 +16,7 @@
"preset": "angular" "preset": "angular"
}, },
"@release-it/bumper": { "@release-it/bumper": {
"files": ["package.json", "CITATION.cff"], "out": "CITATION.cff"
"bumpFiles": [
{
"file": "CITATION.cff",
"versionRegExp": "version:\\s*\"([0-9]+\\.[0-9]+\\.[0-9]+)\""
},
{
"file": "package.json",
"versionRegExp": "\"version\":\\s*\"([0-9]+\\.[0-9]+\\.[0-9]+)\""
}
]
} }
} }
} }