mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
[5.0.x] Used Node.js 20 for GitHub actions.
Backport of 54d9d26ebfc90711430a79219d6547141ce1717f from main
This commit is contained in:
parent
25a614639f
commit
5c0df9953b
2
.github/workflows/schedule_tests.yml
vendored
2
.github/workflows/schedule_tests.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: '**/package.json'
|
cache-dependency-path: '**/package.json'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: '**/package.json'
|
cache-dependency-path: '**/package.json'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user