feat: save extra fields in csv output after dedupication #893
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: Validate | |
on: | |
push: | |
branches: | |
- 'build/*' | |
- 'chore/*' | |
- 'ci/*' | |
- 'docs/*' | |
- 'feat/*' | |
- 'fix/*' | |
- 'perf/*' | |
- 'refactor/*' | |
- 'revert/*' | |
- 'style/*' | |
- 'test/*' | |
- 'release/*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Prettier check | |
run: pnpm prettier.ci | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run ESLint | |
run: pnpm lint.es | |
commitlint: | |
name: CommitLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Commitlint | |
run: pnpm lint.commit | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Tests | |
run: pnpm test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
process_data: | |
name: Process data | |
uses: ./.github/workflows/process-data.reusable.yml | |
with: | |
sources: '[ | |
"aidants-connect", | |
"aix-en-provence", | |
"angers", | |
"bus-france-services-charente", | |
"charente-maritime", | |
"conseiller-numerique", | |
"coop-numerique", | |
"corse", | |
"dora", | |
"epernay", | |
"etapes-numerique", | |
"fibre-64", | |
"france-services", | |
"francil-in", | |
"gironde", | |
"grand-paris-sud", | |
"haute-vienne", | |
"hinaura", | |
"hub-bretagne", | |
"hub-lo", | |
"la-creuse", | |
"le-havre", | |
"les-landes", | |
"loire-atlantique", | |
"maine-et-loire", | |
"mednum-bfc", | |
"mulhouse", | |
"nouvelle-caledonie", | |
"vendee", | |
"paca", | |
"rhin-occ", | |
"siilab" | |
]' | |
environment: demo | |
secrets: | |
DATA_INCLUSION_API_KEY: ${{ secrets.DATA_INCLUSION_API_KEY }} | |
DATA_GOUV_API_URL: ${{ secrets.DATA_GOUV_API_URL }} | |
DATA_GOUV_API_KEY: ${{ secrets.DATA_GOUV_API_KEY }} | |
DATA_GOUV_REFERENCE_ID: ${{ secrets.DATA_GOUV_REFERENCE_ID }} | |
DATA_GOUV_REFERENCE_TYPE: ${{ secrets.DATA_GOUV_REFERENCE_TYPE }} |