Split install and run commands in github actions (#3112)

... makes looking at the checks a little easier in case they fail

---------

Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
Veeck 2023-05-27 22:22:26 +02:00 committed by GitHub
parent eceec8285d
commit c7405b76b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 475 additions and 464 deletions

View File

@ -27,11 +27,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: "Install dependencies and run tests"
- name: "Install dependencies"
run: |
npm run install-mm:dev
- name: "Run tests"
run: |
Xvfb :99 -screen 0 1024x768x16 &
export DISPLAY=:99
npm run install-mm:dev
touch css/custom.css
npm run test:prettier
npm run test:js

View File

@ -19,11 +19,13 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v3
- name: "Install dependencies and run coverage"
- name: "Install dependencies"
run: |
npm ci
- name: "Run coverage"
run: |
Xvfb :99 -screen 0 1024x768x16 &
export DISPLAY=:99
npm ci
touch css/custom.css
npm run test:coverage
- name: "Upload coverage results to codecov"

View File

@ -27,6 +27,7 @@ _This release is scheduled to be released on 2023-07-01._
- Use node v20 in github workflow (replacing v14)
- Refactor formatTime into common util function for default modules
- Refactor some calendar methods into own class and added tests for them
- Split install and run commands in github actions
### Fixed

912
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -52,31 +52,31 @@
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^44.2.3",
"eslint-plugin-jsdoc": "^44.2.7",
"eslint-plugin-prettier": "^4.2.1",
"express-basic-auth": "^1.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jsdom": "^22.0.0",
"jsdom": "^22.1.0",
"lodash": "^4.17.21",
"playwright": "^1.33.0",
"playwright": "^1.34.3",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"sinon": "^15.0.4",
"stylelint": "^15.6.1",
"sinon": "^15.1.0",
"stylelint": "^15.6.2",
"stylelint-config-standard": "^33.0.0",
"stylelint-prettier": "^3.0.0",
"suncalc": "^1.9.0"
},
"optionalDependencies": {
"electron": "^24.3.0"
"electron": "^24.4.0"
},
"dependencies": {
"colors": "^1.4.0",
"console-stamp": "^3.1.1",
"digest-fetch": "^2.0.3",
"envsub": "^4.1.0",
"eslint": "^8.40.0",
"eslint": "^8.41.0",
"express": "^4.18.2",
"express-ipfilter": "^1.3.1",
"feedme": "^2.0.2",