Skip to content

Commit

Permalink
ci: add build node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Apr 2, 2024
1 parent bc78c0b commit bf37d12
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn lint
- run: yarn build-minicog
- run: yarn test
- run: yarn build
- run: yarn transpile
- name: Install dependencies
run: yarn
- name: Lint the codebase
run: yarn lint
- name: Build minicog
run: yarn build-minicog
- name: Test our code
run: yarn test
- name: Build
run: yarn build
- name: Transpile code
run: yarn transpile


scan:
name: gitleaks
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"description": "Validateur de référence pour le format BAL",
"repository": "https://github.com/BaseAdresseNationale/validateur-bal",
"author": "Équipe Adresse <[email protected]>",
"contributors": [
"Jérôme Desboeufs <[email protected]>",
"Théophile Merlière <[email protected]>",
"Guillaume Fay <[email protected]>",
"Fabien Tafforeau <[email protected]>"
],
"license": "MIT",
"private": false,
"publishConfig": {
Expand Down

0 comments on commit bf37d12

Please sign in to comment.