Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update versions in github actions #359

Merged
merged 13 commits into from
Aug 12, 2024
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