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

View file

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

View file

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

@ -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": {

View file

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