Downgrade to Node 16 (#1574)
This commit is contained in:
parent
aa671ecc3f
commit
570b28c0c7
5 changed files with 8 additions and 6 deletions
2
.github/workflows/cypress.yml
vendored
2
.github/workflows/cypress.yml
vendored
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 17
|
node-version: 16
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: ${{ env.ADMIN_UI_PATH }}/package-lock.json
|
cache-dependency-path: ${{ env.ADMIN_UI_PATH }}/package-lock.json
|
||||||
|
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -4,6 +4,8 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
env:
|
||||||
|
NODE_VERSION: 16
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -14,7 +16,7 @@ jobs:
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 17
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
|
@ -51,7 +53,7 @@ jobs:
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 17
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
|
|
||||||
- name: Run ${{ matrix.command }} task
|
- name: Run ${{ matrix.command }} task
|
||||||
run: npm run ${{ matrix.command }}
|
run: npm run ${{ matrix.command }}
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<nodeVersion>v17.0.1</nodeVersion>
|
<nodeVersion>v16.13.0</nodeVersion>
|
||||||
<workingDirectory>../</workingDirectory>
|
<workingDirectory>../</workingDirectory>
|
||||||
<installDirectory>.</installDirectory>
|
<installDirectory>.</installDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -71,7 +71,7 @@
|
||||||
"typescript": "^4.4.4"
|
"typescript": "^4.4.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "17"
|
"node": "16"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/code-frame": {
|
"node_modules/@babel/code-frame": {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"license": "Apache",
|
"license": "Apache",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "17"
|
"node": "16"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "snowpack build",
|
"build": "snowpack build",
|
||||||
|
|
Loading…
Reference in a new issue