mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Merge pull request #2669 from rejas/cleanup
This commit is contained in:
commit
bf49f79e6e
BIN
.github/header.psd
vendored
BIN
.github/header.psd
vendored
Binary file not shown.
@ -17,12 +17,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [12.x, 14.x, 16.x]
|
node-version: [12.x, 14.x, 16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: |
|
- name: Install dependencies and run tests
|
||||||
|
run: |
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
npm install
|
npm install
|
9
.github/workflows/codecov-test-suites.yml
vendored
9
.github/workflows/codecov-test-suites.yml
vendored
@ -13,13 +13,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout code
|
||||||
- run: |
|
uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies and run coverage
|
||||||
|
run: |
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
npm ci
|
npm ci
|
||||||
npm run test:coverage
|
npm run test:coverage
|
||||||
- uses: codecov/codecov-action@v1
|
- name: Upload coverage results to codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
file: ./coverage/lcov.info
|
file: ./coverage/lcov.info
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
6
.github/workflows/enforce-changelog.yml
vendored
6
.github/workflows/enforce-changelog.yml
vendored
@ -11,8 +11,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout code
|
||||||
- uses: dangoslen/changelog-enforcer@v1.6.1
|
uses: actions/checkout@v2
|
||||||
|
- name: Enforce changelog️
|
||||||
|
uses: dangoslen/changelog-enforcer@v1.6.1
|
||||||
with:
|
with:
|
||||||
changeLogPath: "CHANGELOG.md"
|
changeLogPath: "CHANGELOG.md"
|
||||||
skipLabels: "Skip Changelog"
|
skipLabels: "Skip Changelog"
|
||||||
|
@ -28,6 +28,7 @@ _This release is scheduled to be released on 2021-10-01._
|
|||||||
- Use of `logger.js` in jest tests.
|
- Use of `logger.js` in jest tests.
|
||||||
- Run prettier over all relevant files.
|
- Run prettier over all relevant files.
|
||||||
- Move test needing electron in new category `electron`, use `server only` mode in `e2e` tests.
|
- Move test needing electron in new category `electron`, use `server only` mode in `e2e` tests.
|
||||||
|
- Update dependencies in package.json.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
1000
package-lock.json
generated
1000
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -47,12 +47,12 @@
|
|||||||
"homepage": "https://magicmirror.builders",
|
"homepage": "https://magicmirror.builders",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-plugin-jest": "^24.4.0",
|
"eslint-plugin-jest": "^24.4.2",
|
||||||
"eslint-plugin-jsdoc": "^36.1.0",
|
"eslint-plugin-jsdoc": "^36.1.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"express-basic-auth": "^1.2.0",
|
"express-basic-auth": "^1.2.0",
|
||||||
"husky": "^7.0.2",
|
"husky": "^7.0.2",
|
||||||
"jest": "^27.2.0",
|
"jest": "^27.2.2",
|
||||||
"jsdom": "^17.0.0",
|
"jsdom": "^17.0.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
@ -67,7 +67,7 @@
|
|||||||
"suncalc": "^1.8.0"
|
"suncalc": "^1.8.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"electron": "^13.4.0"
|
"electron": "^13.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "^1.4.0",
|
"colors": "^1.4.0",
|
||||||
@ -81,7 +81,7 @@
|
|||||||
"iconv-lite": "^0.6.3",
|
"iconv-lite": "^0.6.3",
|
||||||
"module-alias": "^2.2.2",
|
"module-alias": "^2.2.2",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"node-fetch": "^2.6.2",
|
"node-fetch": "^2.6.5",
|
||||||
"node-ical": "^0.13.0",
|
"node-ical": "^0.13.0",
|
||||||
"socket.io": "^4.2.0"
|
"socket.io": "^4.2.0"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user