feat: nouvelle structure des métadonnées d'un article #1051
Workflow file for this run
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
name: Node applications | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'graphql/**' | |
- 'front/**' | |
- 'export/**' | |
- '.github/workflows/node.yml' | |
pull_request: | |
paths: | |
- 'graphql/**' | |
- 'front/**' | |
- 'export/**' | |
- '.github/workflows/node.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
app: [front, graphql, export] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- name: Install and test | |
working-directory: ${{ matrix.app }} | |
run: npm clean-install-test --no-audit --no-fund | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
base-path: ${{ matrix.app }} | |
parallel: true | |
flag-name: run-${{ join(matrix.*, ' - ') }} | |
- name: Build (if necessary) | |
working-directory: ${{ matrix.app }} | |
run: npm run build --if-present | |
finish: | |
needs: build | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@v2 | |
with: | |
parallel-finished: true | |
carryforward: "run-front,run-graphql,run-export" |