mirror of
https://github.com/FormidableLabs/webpack-dashboard.git
synced 2026-02-01 14:54:15 +00:00
update versions in github actions (#359)
This commit is contained in:
parent
f63d81e05d
commit
9333a27e4b
5
.changeset/cold-wolves-occur.md
Normal file
5
.changeset/cold-wolves-occur.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"webpack-dashboard": patch
|
||||
---
|
||||
|
||||
'#359 update node version to 18 in github actions workflows and github actions versions'
|
||||
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user