update versions in github actions (#359)

This commit is contained in:
Kavitha Acharya 2024-08-12 12:18:43 -04:00 committed by GitHub
parent f63d81e05d
commit 9333a27e4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 753 additions and 720 deletions

View File

@ -0,0 +1,5 @@
---
"webpack-dashboard": patch
---
'#359 update node version to 18 in github actions workflows and github actions versions'

View File

@ -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
@ -34,4 +35,7 @@ jobs:
# CI
- run: yarn check-ci
# Test
- run: yarn test
# Code coverage
- run: yarn codecov

View File

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

View File

@ -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",
@ -79,4 +80,4 @@
"publishConfig": {
"provenance": true
}
}
}

1445
yarn.lock

File diff suppressed because it is too large Load Diff