255 Commits

Author SHA1 Message Date
Sidharth Vinod
2092330eec
fix: Fetch depth 2022-11-16 11:30:58 +05:30
Sidharth Vinod
e05e0f8ae3
fix: Fetch depth 2022-11-16 10:31:49 +05:30
Sidharth Vinod
52ee234c0f
fix: Fetch depth 2022-11-16 10:31:07 +05:30
Sidharth Vinod
1d828fe8be
fix: Add commit count to release preview 2022-11-16 10:27:42 +05:30
Sidharth Vinod
503114c0eb
fix: Add commit count to release preview 2022-11-16 10:22:37 +05:30
Sidharth Vinod
1ad63d5b0b
chore: Add working directory 2022-11-16 09:49:41 +05:30
Sidharth Vinod
3358406e68
fix: release-preview-publish.yml 2022-11-16 00:06:47 +05:30
Sidharth Vinod
c86d46eb8a
Add Security Policy 2022-11-03 11:06:21 +05:30
Sidharth Vinod
361dd6a96e
Add Security Policy 2022-11-03 10:59:57 +05:30
Sidharth Vinod
17adec38af
chore: lint 2022-11-03 10:59:56 +05:30
Andre_601
638b9d9aae
Discussions are now available 2022-11-03 10:59:56 +05:30
Andre_601
c8f6994895
Make colors required 2022-11-03 10:59:55 +05:30
Andre_601
1117a80500
make setup not required 2022-11-03 10:59:55 +05:30
Andre_601
5d83ec6fa2
Update theme_proposal.yml 2022-11-03 10:59:54 +05:30
Andre_601
bab5937426
Update syntaxt_proposal.yml 2022-11-03 10:59:54 +05:30
Andre_601
099a26977a
Update diagram_proposal.yml 2022-11-03 10:59:53 +05:30
Andre_601
0b834485a8
Update bug_report.yml 2022-11-03 10:59:52 +05:30
Andre_601
41f21d4f72
Delete question.md 2022-11-03 10:59:50 +05:30
Andre_601
312e5f3d96
Create syntaxt_proposal.yml 2022-11-03 10:59:35 +05:30
Andre_601
6ef3e7f536
Create theme_proposal.yml 2022-11-03 10:59:34 +05:30
Andre_601
4f5228aec4
Create diagram_proposal.yml 2022-11-03 10:59:32 +05:30
Andre_601
b9daa35558
Switch to bug_report.yml 2022-11-03 10:59:10 +05:30
Andre_601
21304a9677
Create config.yml 2022-11-03 10:57:57 +05:30
Knut Sveidqvist
c8635c0b9b Merge branch 'release/9.2.0'
Conflicts:
	.github/ISSUE_TEMPLATE/bug_report.md
2022-11-01 15:37:00 +01:00
Richard Gibson
5d048ce21e chore: Update bug report template
Add common pattern for reproduction with https://mermaid.live/
2022-10-26 23:17:15 -04:00
Sidharth Vinod
1570eb7b73
chore: Bump node to v18 2022-10-10 20:13:50 +08:00
Sean Killeen
e21da2ec7f capitalization fix 2022-10-07 21:58:52 -04:00
Sean Killeen
44f463c4f4 format docs YAML 2022-10-07 21:42:39 -04:00
Sean Killeen
0b54366705 Add GH Action 2022-10-07 20:50:20 -04:00
Alois Klink
693616b00d ci(e2e): Skip pnpm cache if skipping cypress run
When running the e2e action from a fork, we prevent multi-processing
in the E2E cypress tests skipping runs that aren't
matrix.container == 1.

However, this means that the pnpm cache folder isn't created, causing
the cache action to throw an error.

To fix this, we also skip building Node/cache setup step.

Fixes: f60c7fff65458f39f17cbba30127dacd21a982ac
2022-09-28 20:19:08 +01:00
Alois Klink
30f6550e61 ci(e2e): remove headless arg from cypress run
Since [cypress-io/github-action v4.0.1][1], the headless argument
no longer exists.

Since Cypress v8.0.0, it didn't do anything, since this was the
default behaviour.

[1]: https://github.com/cypress-io/github-action/releases/tag/v4.0.1
2022-09-28 20:12:40 +01:00
Knut Sveidqvist
f60c7fff65 Merge branch 'develop' into 3061_making_a_monorepo 2022-09-28 14:26:07 +02:00
Alois Klink
56e1411d37 ci(e2e): fix e2e action when running from fork
PRs from forks don't have acess to the secrets.CYPRESS_RECORD_KEY.
Because of this, we need to disable `recording`.
2022-09-25 20:11:42 +01:00
Alois Klink
e0805b8272 ci(build): fix build CI to use pnpm
The packages/mermaid/dist build is now uploaded seperately from
the packages/mermaid-mindmap/dist build.
2022-09-25 20:02:23 +01:00
Alois Klink
e72059ba87 ci(e2e-applitools): fix applitools CI to use pnpm 2022-09-25 20:02:23 +01:00
Alois Klink
24d46fb936 ci(e2e): fix e2e tests CI to use pnpm
We need to upgrade cypress-io/github-action to v4.2.0
as that's the first version that supported pnpm.

See https://github.com/cypress-io/github-action/releases/tag/v4.2.0
2022-09-25 20:02:23 +01:00
Alois Klink
77831c424c ci(lint): fix lint tests CI to use pnpm 2022-09-25 20:02:23 +01:00
Alois Klink
d633ec62df ci(unit): fix unit tests CI to use pnpm 2022-09-25 20:02:23 +01:00
Sidharth Vinod
065756a90d
Merge branch 'develop' into sidv/parallelE2E
* develop: (28 commits)
  fix(docs): update link
  Revert "unify Jison tranformers"
  Update yarn.lock
  Revert "fix(test): No esm exports"
  fix(test): No esm exports
  fix(docs): `mmd` detection
  Hope this fails
  unify Jison tranformers
  Fix jest
  Remove `docs:build` from postbuild.
  Add verification log
  This should fail CI
  fix: imports in HTML
  Revert "Add diagramAPI to outfile"
  Add `type: module` to package.json
  chore(deps-dev): bump @types/lodash from 4.14.184 to 4.14.185
  Update integrations.md
  Add vitepress pluin
  Update mermaid version
  Fix ports
  ...
2022-09-21 12:06:18 +05:30
Sidharth Vinod
3982d19e57
Merge branch 'develop' into sidv/removeWebpackBabel
* develop:
  Revert #3475
  ci(e2e-applitols): add applitools CI action
2022-09-21 11:04:35 +05:30
Sidharth Vinod
55d706323d
CI Concurrency 4 2022-09-21 10:42:27 +05:30
Sidharth Vinod
51df0a68cc
Remove build 2022-09-21 10:41:47 +05:30
Sidharth Vinod
ca053e0a11
Parallel e2e 2022-09-21 10:36:38 +05:30
Alois Klink
5c8fda3891 ci(e2e-applitols): add applitools CI action
Adds a [`workflow_dispatch`][1] GitHub Actions CI workflow
that performs an E2E Cypress rendering test with Applitools
integration.

If the APPLITOOLS_API_KEY secret is not set, this action fallsback to
just doing a normal E2E Cypress test without Applitools support.

[1]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
2022-09-17 22:34:29 +01:00
Sidharth Vinod
25ed9063f2
Merge branch 'develop' into sidv/removeWebpackBabel
* develop: (77 commits)
  cleanup
  Fix docs
  Fix coverage
  Fix for issues in errorhandling and class diagrams after refactoring
  Replace GoogleAnalytics with Plausible
  chore(deps): bump dompurify from 2.3.10 to 2.4.0 (#3444)
  chore(deps): bump stylis from 4.1.1 to 4.1.2 (#3439)
  chore(deps-dev): bump webpack-dev-server from 4.10.1 to 4.11.0 (#3450)
  fix(git): support single character branch names
  Cleanup unused variables and some commented out code
  Cleanup fixing som lingering issues
  Remove extension
  Apply suggestions from code review
  ci(e2e): re-enable e2e tests
  style: fix .github/workflow/e2e styling
  chore: upgrade cypress to v10
  fix(flowchart-v2): fix arrowMarkerAbsolute=true
  test(e2e): fix most arrowMarkerAbsolute tests
  text(e2e): give git tests consistent commit id
  test(e2e): widen flowchart width to within 10%
  ...
2022-09-16 23:24:17 +05:30
Alois Klink
20d22a6468 ci(e2e): re-enable e2e tests
I've removed the coverage upload bit, since although the
[@cypress/code-coverage][1] plugin is pretty easy to setup,
it requires babel, which we're about to remove and replace
with ESBuild.
2022-09-14 04:15:52 +01:00
Alois Klink
c5033b92b4 style: fix .github/workflow/e2e styling
Uses prettier to fix e2e style issues.
2022-09-14 04:15:52 +01:00
Sidharth Vinod
e7ac2368c3
Add local jison linting 2022-09-13 12:46:14 +05:30
dependabot[bot]
07638f5505
chore(deps): bump actions/checkout from 2 to 3 (#3449)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:27:45 +02:00
Knut Sveidqvist
73620ebee9
Merge pull request #3431 from aloisklink/other/re-enable-coverage
Re-enable coverage upload to coveralls
2022-09-12 19:04:54 +02:00