Downgrade to Node 16 (#1574)

This commit is contained in:
Jon Koops 2021-11-20 13:55:00 +01:00 committed by GitHub
parent aa671ecc3f
commit 570b28c0c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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 }}

View file

@ -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
View file

@ -71,7 +71,7 @@
"typescript": "^4.4.4"
},
"engines": {
"node": "17"
"node": "16"
}
},
"node_modules/@babel/code-frame": {

View file

@ -9,7 +9,7 @@
},
"license": "Apache",
"engines": {
"node": "17"
"node": "16"
},
"scripts": {
"build": "snowpack build",