Skip to content

Commit

Permalink
update versions in github actions (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
acharyakavita committed Aug 12, 2024
1 parent f63d81e commit 9333a27
Show file tree
Hide file tree
Showing 5 changed files with 753 additions and 720 deletions.
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

0 comments on commit 9333a27

Please sign in to comment.