fix CI build

* update nodejs
* set up python
This commit is contained in:
Mariusz Kogen
2024-08-07 10:40:25 +02:00
parent a3e7e7c6c9
commit 9f1a9a7d9c

View File

@@ -45,7 +45,7 @@ on:
- next/*
env:
NODEJS_VERSION: "18.15.0"
NODEJS_VERSION: "20.16.0"
ENVIRONMENT: '${{ fromJson(format(''["{0}", ""]'', github.event.inputs.environment || ''dev''))[github.event.inputs.environment == ''NONE''] }}'
jobs:
@@ -75,6 +75,11 @@ jobs:
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODEJS_VERSION }}
@@ -148,6 +153,11 @@ jobs:
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt-get update