build: use Node.js v20 LTS (#494)
* build: use Node.js v20 LTS * chore: remove Node.js step name
This commit is contained in:
Родитель
40cebcc6a2
Коммит
d566e8ef2c
|
@ -34,7 +34,7 @@ jobs:
|
|||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@8add8c6d2c8586964896d9fdc639e021312a643f # tag: v1.8.28
|
||||
- name: Test
|
||||
|
|
|
@ -15,10 +15,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@8add8c6d2c8586964896d9fdc639e021312a643f # tag: v1.8.28
|
||||
|
|
|
@ -17,10 +17,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@8add8c6d2c8586964896d9fdc639e021312a643f # tag: v1.8.28
|
||||
- name: Upload sources to Crowdin
|
||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
run: git fetch origin && git checkout -t origin/v${{ github.event.client_payload.branch}} || git checkout -b v${{ github.event.client_payload.branch}}
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@8add8c6d2c8586964896d9fdc639e021312a643f # tag: v1.8.28
|
||||
- name: 'Prebuild'
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@8add8c6d2c8586964896d9fdc639e021312a643f # tag: v1.8.28
|
||||
- name: 'Prebuild'
|
||||
|
|
|
@ -14,8 +14,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
|||
16.20.2
|
||||
20.11.0
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": "16"
|
||||
"node": "20"
|
||||
},
|
||||
"scripts": {
|
||||
"crowdin": "crowdin",
|
||||
|
|
Загрузка…
Ссылка в новой задаче