Veeck
c7405b76b3
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>
2023-05-27 22:22:26 +02:00
Karsten Hassel
b80485b52f
use node v20 in github workflow (replacing v19) ( #3093 )
...
additional:
- update deps
- suppress more unwanted log errors in e2e tests
- add .gitattributes
- fix prettier/js warnings
2023-04-22 09:29:23 +02:00
Karsten Hassel
09f117c3d9
set Timezone Europe/Berlin
in unit tests ( #3087 )
...
needed for new formatTime unit tests.
Avoiding ugly TZ setting in github workflows, see
https://github.com/MichMich/MagicMirror/pull/3073
2023-04-08 08:55:43 +02:00
Veeck
32192d1698
Refactor formatTime into util class ( #3073 )
...
While looking at https://github.com/MichMich/MagicMirror/pull/3070 I
noticed that the weather and clock module do some formatTime stuff, so
why not use a common function for that?
---------
Co-authored-by: veeck <michael@veeck.de>
2023-04-07 23:11:54 +02:00
Kristjan ESPERANTO
0d3ad9812c
Drop node v14 support ( #3085 )
...
node v14 will have reached end-of-life by the next release.
From April 18th we can use node v20 instead of v19 for testing.
2023-04-07 19:24:27 +02:00
Veeck
88c7e42368
Enforce PRs to be based against develop branch ( #3031 )
...
"Inspired" by my mistake in
https://github.com/MichMich/MagicMirror/pull/3028 this PR will add a
worfklow check for the branch a PR is based against.
Open question is if this prevents @MichMich from preparing a release?
---------
Co-authored-by: veeck <michael@veeck.de>
2023-02-16 18:18:18 +01:00
Veeck
4fc38bd5bb
Update dependabot action ( #2985 )
...
Supersedes https://github.com/MichMich/MagicMirror/pull/2984
and tell dependabot to base its PRs against develop
2023-01-02 20:11:26 +01:00
Naveen
00bc6eb28c
Add dependency review action ( #2862 )
...
> Dependency Review GitHub Action in your repository to enforce
dependency
> reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by
package version
> changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.
https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
Co-authored-by: Karsten Hassel <hassel@gmx.de>
2022-10-28 21:16:42 +02:00
Michael Teeuw
d539f459ca
Merge pull request #2874 from MichMich/dependabot/github_actions/codecov/codecov-action-3
...
Bump codecov/codecov-action from 2 to 3
2022-07-28 15:30:32 +02:00
Michael Teeuw
2cca6a2f39
Merge pull request #2875 from MichMich/dependabot/github_actions/actions/setup-node-3
...
Bump actions/setup-node from 2 to 3
2022-07-28 15:30:17 +02:00
Karsten Hassel
3fbd9006ad
new script install-mm
for simplifying mm installation and new params --no-audit --no-fund --no-update-notifier
for less noise
2022-07-25 22:35:16 +02:00
dependabot[bot]
54ab0b1bf0
Bump actions/setup-node from 2 to 3
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 11:07:27 +00:00
dependabot[bot]
5507e9ffe9
Bump codecov/codecov-action from 2 to 3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 11:07:24 +00:00
Kristjan SCHMIDT
9b2051827c
Use .yaml instead of .yml
...
This is the recommended file extension: https://yaml.org/faq.html
2022-06-06 23:57:52 +02:00
Michael Teeuw
47aefb0c82
Merge pull request #2858 from turrisxyz/Pinned-Dependencies-GitHub
...
chore: Set permissions for GitHub actions
2022-06-04 14:59:28 +02:00
nathannaveen
701ce8ad47
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-05-30 00:58:20 +00:00
veeck
bb1d3431cc
Update node test matrix for real
2022-05-02 22:35:03 +02:00
veeck
6504b5e818
Update github actions and tested node versions
2022-05-02 22:01:26 +02:00
Karsten Hassel
8cb6015930
refactor tests
2022-01-10 23:27:53 +01:00
Karsten Hassel
c88d25b4ee
update node versions in templates and github workflows
2021-12-22 22:35:55 +01:00
veeck
c623ca9fe0
Update other actions and dependencies
2021-10-17 19:02:22 +02:00
veeck
90deaf564f
Update codecov action before the old one gets deprecated
2021-10-17 18:56:18 +02:00
Karsten Hassel
8224a6ac35
add custom.css before testing
2021-09-28 21:38:30 +02:00
Karsten Hassel
23c6b44921
Merge branch 'develop' into new-e2e
...
# Conflicts:
# CHANGELOG.md
2021-09-28 21:12:04 +02:00
veeck
9eb08420b6
Add proper names to github action steps
2021-09-28 12:14:39 +02:00
Karsten Hassel
54b04962a8
snapshot
2021-09-23 22:52:32 +02:00
Karsten Hassel
974de179e0
refactor tests in 3 categories unit, e2e and electron
2021-09-13 23:07:34 +02:00
rejas
12457a87d4
Test on latest version of node 16 again
2021-09-11 11:17:12 +02:00
rejas
9a8de7db80
Run prettier again
2021-09-11 11:16:09 +02:00
Karsten Hassel
627cfa1dff
hold node v16 at v16.8 due to errors in e2e tests with v16.9
2021-09-09 00:31:24 +02:00
Karsten Hassel
99aca932db
update dependencies
2021-09-09 00:24:13 +02:00
Karsten Hassel
a222c58047
use --forceExit running jest, define timeouts for github workflows
2021-06-21 22:27:36 +02:00
Karsten Hassel
d2fde2bfc8
fix segment faults in node16 on ubuntu
2021-06-12 23:53:04 +02:00
Karsten Hassel
bd908123c2
replace node v10 with v16 in github workflow
2021-04-26 22:29:23 +02:00
veeck
fa9258761e
Change on-trigger
2021-01-06 09:33:06 +01:00
veeck
003e948899
Use codecov action instead of bash command
2021-01-06 09:33:06 +01:00
rejas
5a3d3b76a7
Cleanups
2021-01-06 09:33:06 +01:00
rejas
5bc2c207db
Add codecov github action
2021-01-06 09:33:06 +01:00
Michael Teeuw
846212798c
Update node-ci.js.yml
2020-12-21 13:29:10 +01:00
Michael Teeuw
af212057db
Merge pull request #2369 from MichMich/enforce-changelog
...
Create enforce-changelog.yml
2020-12-21 13:07:17 +01:00
Michael Teeuw
0fd0fea7e7
Update enforce-changelog.yml
2020-12-21 13:06:39 +01:00
Michael Teeuw
eb6ef3c8ff
Update enforce-changelog.yml
2020-12-21 13:02:40 +01:00
Michael Teeuw
cdb8d35cf6
Create enforce-changelog.yml
2020-12-21 12:36:59 +01:00
Michael Teeuw
20bd85b676
Delete danger-ci.yml
...
Unfortunately Danger Actions currently can't work with PR's:
https://github.com/PrismJS/prism/issues/2627
2020-12-21 11:20:34 +01:00
Michael Teeuw
83ec8ca24f
Restore.
2020-12-21 11:13:41 +01:00
Michael Teeuw
9622d02230
Yolo.
2020-12-21 11:11:48 +01:00
Michael Teeuw
b72d0ed37e
Add ENV variable.
2020-12-21 11:02:14 +01:00
Michael Teeuw
f966e504a5
Cleanup.
2020-12-21 10:59:55 +01:00
Michael Teeuw
3c3ce24397
Cleanup Danger-CI
2020-12-21 10:51:51 +01:00
Michael Teeuw
30290f3eb2
Merge pull request #2367 from MichMich/danger-ci
...
Danger ci
2020-12-21 10:47:27 +01:00