Skip to content

Commit

Permalink
chore(github-actions): update Node.js version to 18.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hdinia committed Jul 20, 2023
1 parent 69c30f4 commit 1c14574
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 43 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: compatibility
on:
push:
branches:
- 'compatibility'
- "compatibility"

jobs:
python-test:
Expand All @@ -11,11 +11,11 @@ jobs:
max-parallel: 9
matrix:
os: [windows-latest, ubuntu-20.04, macOS-latest]
python-version: [ 3.8 ]
python-version: [3.8]

steps:
- name: Checkout github repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand All @@ -33,13 +33,13 @@ jobs:
strategy:
max-parallel: 9
matrix:
os: [ windows-latest, ubuntu-20.04, macOS-latest ]
node-version: [ 10.x, 14.x ]
os: [windows-latest, ubuntu-20.04, macOS-latest]
node-version: [18.16.1]
steps:
- name: Checkout github repo
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -48,7 +48,3 @@ jobs:
- name: Build
run: npm run build
working-directory: webapp
# - name: Run tests
# run: npm run test
# working-directory: webapp

8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: deploy
on:
push:
branches:
- 'master'
- 'hotfix/**'
- "master"
- "hotfix/**"

jobs:
binary:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
matrix:
os: [ windows-latest, ubuntu-20.04 ]
os: [windows-latest, ubuntu-20.04]

steps:
- name: 🐙 Checkout GitHub repo (+ download lfs dependencies)
Expand All @@ -27,7 +27,7 @@ jobs:
- name: 💚 Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: 18.16.1

- name: 💚 Install dependencies
run: npm install
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: main
on:
push:
branches:
- '**'
- "**"

jobs:
python-lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout github repo (+ download lfs dependencies)
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand All @@ -65,14 +65,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04 ]
os: [ubuntu-20.04]
steps:
- name: Checkout github repo
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.16.1
- name: Install dependencies
run: npm install
working-directory: webapp
Expand Down Expand Up @@ -100,18 +100,18 @@ jobs:
runs-on: ubuntu-20.04
needs: [python-test, npm-test]
steps:
- uses: actions/checkout@v2
- name: Download python coverage report
uses: actions/download-artifact@v3
with:
name: python-code-coverage-report
- name: Download js coverage report
uses: actions/download-artifact@v3
with:
name: js-code-coverage-report
path: webapp/coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: actions/checkout@v3
- name: Download python coverage report
uses: actions/download-artifact@v3
with:
name: python-code-coverage-report
- name: Download js coverage report
uses: actions/download-artifact@v3
with:
name: js-code-coverage-report
path: webapp/coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion docs/install/0-INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The front end is a [React](https://reactjs.org/) web application. A local build

Requirements :
- python : 3.8.x
- node : 14.x
- node : 18.16.1

1. First clone the projet:

Expand Down
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.14.4",
"private": true,
"engines": {
"node": "18.12.0"
"node": "18.16.1"
},
"dependencies": {
"@emotion/react": "11.10.6",
Expand Down
2 changes: 0 additions & 2 deletions webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
"global.error.failedtoretrievelogs": "Failed to retrieve job logs",
"global.error.failedtoretrievedownloads": "Failed to retrieve downloads list",
"global.area.add": "Add an area",
"global.compare": "Compare",
"global.selected": "Selected",
"login.error": "Failed to authenticate",
"tasks.title": "Tasks",
"api.title": "API",
Expand Down
2 changes: 0 additions & 2 deletions webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
"global.error.failedtoretrievelogs": "Échec de la récupération des logs",
"global.error.failedtoretrievedownloads": "Échec de la récupération des exports",
"global.area.add": "Ajouter une zone",
"global.compare": "Comparer",
"global.selected": "Sélectionné",
"login.error": "Échec de l'authentification",
"tasks.title": "Tâches",
"api.title": "API",
Expand Down

0 comments on commit 1c14574

Please sign in to comment.