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
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 17
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
cache: npm
|
||||
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]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
env:
|
||||
NODE_VERSION: 16
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -14,7 +16,7 @@ jobs:
|
|||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 17
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
check-latest: true
|
||||
cache: npm
|
||||
|
||||
|
@ -51,7 +53,7 @@ jobs:
|
|||
- name: Set up Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 17
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
|
||||
- name: Run ${{ matrix.command }} task
|
||||
run: npm run ${{ matrix.command }}
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<nodeVersion>v17.0.1</nodeVersion>
|
||||
<nodeVersion>v16.13.0</nodeVersion>
|
||||
<workingDirectory>../</workingDirectory>
|
||||
<installDirectory>.</installDirectory>
|
||||
</configuration>
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -71,7 +71,7 @@
|
|||
"typescript": "^4.4.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "17"
|
||||
"node": "16"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"license": "Apache",
|
||||
"engines": {
|
||||
"node": "17"
|
||||
"node": "16"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "snowpack build",
|
||||
|
|
Loading…
Reference in a new issue