Spaces:
Runtime error
Runtime error
Added node v16.x
Browse filesTo fix workflow error:
**build**
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.github/workflows/ci-cd.yml
CHANGED
@@ -14,10 +14,11 @@ jobs:
|
|
14 |
- name: Checkout code
|
15 |
uses: actions/checkout@v3
|
16 |
|
17 |
-
- name:
|
18 |
uses: actions/setup-python@v2
|
19 |
with:
|
20 |
python-version: 3.9
|
|
|
21 |
|
22 |
- name: Install dependencies
|
23 |
run: pip install -r requirements.txt
|
|
|
14 |
- name: Checkout code
|
15 |
uses: actions/checkout@v3
|
16 |
|
17 |
+
- name: Set up Node.js and Python
|
18 |
uses: actions/setup-python@v2
|
19 |
with:
|
20 |
python-version: 3.9
|
21 |
+
node-version: 16.x
|
22 |
|
23 |
- name: Install dependencies
|
24 |
run: pip install -r requirements.txt
|