Skip to content

Commit

Permalink
Maj deps (#226)
Browse files Browse the repository at this point in the history
* MAJ deps

* Maj repo aides-jeune

* Maj nodejs

* Fix lint

* Ajoute @playwright/test

* Fix e2e tests
  • Loading branch information
mquandalle committed Apr 19, 2023
1 parent 37f1a0e commit 79e8f9f
Show file tree
Hide file tree
Showing 24 changed files with 2,009 additions and 1,306 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-links-validity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
submodules: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- run: npm ci
- id: invalid_links
run: node ./src/scripts/check-links-validity.js --ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
submodules: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- run: npm ci
- name: Run linter
run: npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
submodules: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- run: npm ci
- name: Build and Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
submodules: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ node_modules
.vercel
*.tmp
*.tmp.js
data-fetch/miniatures/aides-jeunes-repo

# Generated at build time
src/data
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
2 changes: 1 addition & 1 deletion data-fetch/miniatures/aides-jeunes-repo
2 changes: 1 addition & 1 deletion data-fetch/miniatures/extract-from-aides-jeunes.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const imagesFromAidesJeunes = Object.fromEntries([

return [imgKey(data), data];
}),
['pays - France', { imgSrc: 'img/logo_etat_francais.png' }],
['pays - France', { imgSrc: 'img/institutions/logo_etat_francais.png' }],
]);

const noTrim = [
Expand Down
2 changes: 1 addition & 1 deletion package-aides-velo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Aide = {
kind: string;
value: string;
code?: string;
}
};
/**
* Le montant de l'aide est calculé seulement si le type de vélo a été
* précisé en entrée.
Expand Down
Loading

0 comments on commit 79e8f9f

Please sign in to comment.