Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cold-wolves-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"webpack-dashboard": patch
---

'#359 update node version to 18 in github actions workflows and github actions versions'
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [18.x]

steps:
# Setup
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: ${{ matrix.node-version }}

# Installation
Expand All @@ -34,4 +35,7 @@ jobs:

# CI
- run: yarn check-ci
# Test
- run: yarn test
# Code coverage
- run: yarn codecov
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ jobs:
packages: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: 18

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Check CI
run: yarn check-ci
- name: Unit Tests
run: yarn test

- name: PR or Publish
id: changesets
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@
},
"devDependencies": {
"@svitejs/changesets-changelog-github-compact": "^0.1.1",
"@types/node": "^22.1.0",
"babel-eslint": "^10.1.0",
"chai": "^4.3.4",
"codecov": "^3.8.2",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-formidable": "^4.0.0",
Expand All @@ -79,4 +80,4 @@
"publishConfig": {
"provenance": true
}
}
}
Loading