Commit Graph

242 Commits

Author SHA1 Message Date
Sidharth Vinod 967d3bbb60
Disable link checker on develop PRs
Runs link checker every day to keep cache warm.
2022-12-27 10:35:07 +05:30
Sidharth Vinod 333b974f10
Add `workflow_dispatch` to lint.yml 2022-12-15 21:50:00 +05:30
Sidharth Vinod 59fdaa3b53
fix: Fail docs:verify on non push events 2022-12-07 11:58:09 +05:30
Sidharth Vinod 7553827985
fix: docs build command 2022-12-07 11:40:17 +05:30
Sidharth Vinod 792c1a8320
chore: Rebuild docs if linting fails 2022-12-07 11:19:44 +05:30
Sidharth Vinod 963a1f1eb1
Merge remote-tracking branch 'origin/develop' into sidv/autoBuildDocs
* origin/develop: (564 commits)
  chore: Format Mermaid.vue
  Made mermaidConfig a local variable so that it cannot be shared cross rendering.
  Fix for issue #3882 moving the label when the path has been modified
  Small fix for issue #3881
  Fixed an issue that diagrams disappear from docs pages when switching themes or reloading pages
  Fixed the issue that theme-switch does not work on docs.
  chore: Fix mindmap link
  chore: Switch back from unpkg to jsdelivr
  delete functions not used in diagrams/c4 code (dead code)
  Minor change
  feat: Add @include support to docs
  feat: Add @include example to docs
  feat: Add @include support to docs
  cleanup
  fix lines
  fix Async rendering
  Revert "sync"
  chore(deps): update pnpm to v7.17.1
  chore(deps): remove dependency on `graphlib`
  test(e2e): make gitgraph snapshots consistent
  ...
2022-12-07 11:11:45 +05:30
Sidharth Vinod 41033008ec
Merge branch 'master' into develop
* master:
  doc: Add mindmap integration docs
  fix: Fetch depth
  fix: Fetch depth
  fix: Fetch depth
  fix: Add commit count to release preview
  fix: Add commit count to release preview
  chore: Add working directory
  fix: release-preview-publish.yml
  Fix #3799: Remove `type` from package.json
2022-12-01 11:39:28 +05:30
Sidharth Vinod 183dee89c2
feat: Spellcheck docs when building
docs.yml is removed as `docs:verify` will cover spellchecks now.
2022-11-22 23:06:12 +05:30
renovate[bot] a8c5f6d517 chore(deps): update lycheeverse/lychee-action action to v1.5.4 2022-11-21 04:51:51 +00:00
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 e27966c15f
chore: Add master to link checker 2022-11-15 14:16:41 +05:30
Alois Klink 195f3a5feb
ci(lint-checker): lock down permissions
Lock down the GITHUB_TOKEN permissions.

lychee only needs `GITHUB_TOKEN` to read public
data without hitting rate-limits, so having read-only
access to contents should be fine.
2022-11-10 18:23:03 +00:00
Sebastian Spier 7350b63e40 Remove unnecesary comment 2022-11-08 13:53:41 +01:00
Sebastian Spier 013ff182c9 Run Prettier 2022-11-07 20:35:00 +01:00
Sebastian Spier 46fc13a5bc Add GHA that checks links (using lychee). Incl list of links to ignore. 2022-11-06 22:35:45 +01:00
Sidharth Vinod b735c21a33
chore: Remove test branch 2022-10-31 22:08:04 +05:30
Sidharth Vinod 78565d16c1
Add pnpm 2022-10-31 21:54:57 +05:30
Sidharth Vinod 56c2fe3eb1
Publish 2022-10-31 21:46:48 +05:30
Sidharth Vinod f36e0ef941
chore: Add actions deploy 2022-10-31 21:44:09 +05:30
Emerson Bottero f87d1630d1 chore: fix most of aloisklink reviews 2022-10-30 21:22:38 -03:00
Emerson Bottero 47e1f611d8 fix: lint and spell errors 2022-10-26 16:24:06 -03:00
Emerson Bottero c8b377bf74 docs: small improvements 2022-10-17 19:32:47 -03:00
Emerson Bottero 0da56a1249 docs: new Documentation 2022-10-15 00:50:57 -03:00
renovate[bot] 673a2e8228
chore(deps): update actions/setup-node action to v3 2022-10-12 22:52:41 +00:00
renovate[bot] e5c85cbc64
chore(deps): update actions/checkout action to v3 2022-10-11 20:56:31 +00: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
Sidharth Vinod 563c51d431
Get base sha from PR 2022-10-03 14:49:35 +08:00
Sidharth Vinod 455c61b2cf
Run doc lint only if files changed 2022-10-03 14:41:52 +08:00
Sidharth Vinod 0a547e524e
Run doc lint only if files changed 2022-10-03 14:30:46 +08:00
Sidharth Vinod 9c5c85d34a
Run doc lint only if files changed 2022-10-03 14:24:51 +08:00
Sidharth Vinod 8d6af3dfed
split lint docs action 2022-10-03 14:21:54 +08:00
Sidharth Vinod 3bae25fe6b
split lint docs action 2022-10-03 14:15:28 +08:00
Sidharth Vinod 1d8d677d81
fix: File location 2022-10-03 14:03:44 +08:00
Sidharth Vinod 75db08a60c
fix(docs): Test auto commit 2022-10-03 12:05:48 +08:00
Sidharth Vinod d367e832be
fix(docs): Test auto commit 2022-10-03 12:00:59 +08:00
Sidharth Vinod 058f1c2edf
chore: Update docs path 2022-10-03 11:55:33 +08:00
Sidharth Vinod 9425b8adc2
Merge remote-tracking branch 'upstream/develop' into sidv/autoBuildDocs
* upstream/develop: (81 commits)
  style(docs): fix prettier issues (extra newline)
  Corrected theme variables reference table layout
  Fix typos in README.md
  build: lint-staged docs in packages/mermaid/src/…
  chore(docs): run `pnpm run docs:build`
  build(docs): fix `pnpm run docs:{build,verify}`
  docs: replace `yarn` with `pnpm` in dev guide
  build: re-enable `prepare` script for husky setup
  build: update pre-commit rules to use `pnpm`
  Arrow tip aligned to edge of box
  updated pnpm-lock file
  ci(e2e): Skip pnpm cache if skipping cypress run
  ci(e2e): remove `headless` arg from cypress run
  build(dev): Fix dev server not showing mermaid.js
  Fixed sample test
  Adding example diagram as a template for a new diagram
  Removed test folder
  Returning the borders to the e2e tests
  Fix for tests
  Updated version
  ...
2022-10-03 11:51:14 +08:00
Sidharth Vinod 21caa3eb72
chore: Auto build docs if only src/docs is changed 2022-10-03 11:50:42 +08: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: f60c7fff65
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