Merge pull request #12247 from tschaub/updates
Build on Node 16 and update dev dependencies
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
46
.github/workflows/test.yml
vendored
46
.github/workflows/test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
node:
|
||||
- 14
|
||||
- 16
|
||||
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
node:
|
||||
- 14
|
||||
- 16
|
||||
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
@@ -92,6 +92,46 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: npm run test-spec
|
||||
|
||||
build:
|
||||
name: Build (Node ${{ matrix.node }} / ${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
node:
|
||||
- 16
|
||||
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Node.js Version
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Determine Cache Directory
|
||||
id: npm-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(npm config get cache)"
|
||||
|
||||
- name: Configure Job Cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ steps.npm-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run Tests
|
||||
run: npm run build-package
|
||||
|
||||
rendering:
|
||||
name: Rendering (Node ${{ matrix.node }} / ${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
@@ -102,7 +142,7 @@ jobs:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
node:
|
||||
- 14
|
||||
- 16
|
||||
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
|
||||
5150
package-lock.json
generated
5150
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -106,7 +106,7 @@
|
||||
"webpack": "^5.27.2",
|
||||
"webpack-cli": "^4.5.0",
|
||||
"webpack-dev-middleware": "^4.1.0",
|
||||
"webpack-dev-server": "^3.11.2",
|
||||
"webpack-dev-server": "^4.0.0-beta.2",
|
||||
"webpack-sources": "^2.2.0",
|
||||
"worker-loader": "^3.0.8",
|
||||
"yargs": "^16.0.3"
|
||||
|
||||
Reference in New Issue
Block a user