@cheqd/sdk 3.0.2-develop.1 → 3.0.2-develop.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/package.json +9 -3
  2. package/.github/ISSUE_TEMPLATE/bug-report.yml +0 -74
  3. package/.github/ISSUE_TEMPLATE/config.yml +0 -14
  4. package/.github/ISSUE_TEMPLATE/feature-request.yaml +0 -27
  5. package/.github/dependabot.yml +0 -43
  6. package/.github/linters/.commitlint.rules.cjs +0 -37
  7. package/.github/linters/.eslintrc.json +0 -18
  8. package/.github/linters/.markdown-lint.yml +0 -139
  9. package/.github/linters/mlc_config.json +0 -13
  10. package/.github/workflows/build.yml +0 -26
  11. package/.github/workflows/cleanup-actions.yml +0 -45
  12. package/.github/workflows/cleanup-cache-automatic.yml +0 -24
  13. package/.github/workflows/cleanup-cache-manual.yml +0 -21
  14. package/.github/workflows/codeql.yml +0 -40
  15. package/.github/workflows/dispatch.yml +0 -30
  16. package/.github/workflows/lint.yml +0 -51
  17. package/.github/workflows/pull-request.yml +0 -48
  18. package/.github/workflows/release.yml +0 -42
  19. package/.github/workflows/test.yml +0 -66
  20. package/.releaserc.json +0 -61
  21. package/CHANGELOG.md +0 -320
  22. package/CODE_OF_CONDUCT.md +0 -81
  23. package/NOTICE.md +0 -10
  24. package/SECURITY.md +0 -12
  25. package/docker/Dockerfile +0 -55
  26. package/docker/entrypoint.sh +0 -58
  27. package/docker/localnet/build-latest.env +0 -7
  28. package/docker/localnet/container-env/observer-0.env +0 -13
  29. package/docker/localnet/container-env/seed-0.env +0 -17
  30. package/docker/localnet/container-env/validator-0.env +0 -13
  31. package/docker/localnet/container-env/validator-1.env +0 -13
  32. package/docker/localnet/container-env/validator-2.env +0 -13
  33. package/docker/localnet/container-env/validator-3.env +0 -13
  34. package/docker/localnet/docker-compose.yml +0 -281
  35. package/docker/localnet/gen-network-config.sh +0 -259
  36. package/docker/localnet/import-keys.sh +0 -31
  37. package/jest.config.cjs +0 -20
  38. package/src/index.ts +0 -192
  39. package/src/modules/_.ts +0 -61
  40. package/src/modules/did.ts +0 -601
  41. package/src/modules/resource.ts +0 -247
  42. package/src/querier.ts +0 -36
  43. package/src/registry.ts +0 -13
  44. package/src/signer.ts +0 -297
  45. package/src/types.ts +0 -110
  46. package/src/utils.ts +0 -246
  47. package/tests/index.test.ts +0 -155
  48. package/tests/modules/did.test.ts +0 -985
  49. package/tests/modules/resource.test.ts +0 -991
  50. package/tests/signer.test.ts +0 -202
  51. package/tests/testutils.test.ts +0 -29
  52. package/tests/utils.test.ts +0 -77
  53. package/tsconfig.cjs.json +0 -8
  54. package/tsconfig.esm.json +0 -8
  55. package/tsconfig.json +0 -84
  56. package/tsconfig.types.json +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/sdk",
3
- "version": "3.0.2-develop.1",
3
+ "version": "3.0.2-develop.3",
4
4
  "description": "A TypeScript SDK built with CosmJS to interact with cheqd network ledger",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
@@ -44,6 +44,12 @@
44
44
  "url": "https://github.com/cheqd/sdk/issues"
45
45
  },
46
46
  "homepage": "https://github.com/cheqd/sdk#readme",
47
+ "files": [
48
+ "build/**/*",
49
+ "LICENSE",
50
+ "package.json",
51
+ "README.md"
52
+ ],
47
53
  "dependencies": {
48
54
  "@cheqd/ts-proto": "^3.1.2",
49
55
  "@cosmjs/amino": "^0.29.5",
@@ -69,8 +75,8 @@
69
75
  "@semantic-release/npm": "^9.0.2",
70
76
  "@semantic-release/release-notes-generator": "^10.0.3",
71
77
  "@types/jest": "^29.4.0",
72
- "@types/node": "^18.14.0",
73
- "@types/uuid": "^9.0.0",
78
+ "@types/node": "^18.14.2",
79
+ "@types/uuid": "^9.0.1",
74
80
  "conventional-changelog-conventionalcommits": "^5.0.0",
75
81
  "cross-env": "^7.0.3",
76
82
  "jest": "^29.4.3",
@@ -1,74 +0,0 @@
1
- name: Bug Report
2
- description: File a bug report
3
- title: "[Bug]: "
4
- labels: ["bug"]
5
- body:
6
- - type: textarea
7
- id: what-happened
8
- attributes:
9
- label: What went wrong?
10
- description: Also tell us, what did you expect to happen?
11
- placeholder: Tell us more about this potential bug.
12
- validations:
13
- required: true
14
- body:
15
- - type: textarea
16
- id: repro
17
- attributes:
18
- label: How can we reproduce this bug?
19
- description: "How do you trigger this bug? Please walk us through it step-by-step."
20
- value: |
21
- 1.
22
- 2.
23
- 3.
24
- ...
25
- validations:
26
- required: true
27
- - type: dropdown
28
- id: environment
29
- attributes:
30
- label: Environment
31
- description: What environment does this bug affect?
32
- options:
33
- - Mainnet
34
- - Testnet
35
- - Both mainnet/testnet
36
- - Not applicable
37
- validations:
38
- required: true
39
- - type: input
40
- id: prevalence
41
- attributes:
42
- label: Bug prevalence
43
- description: "How often do you or others encounter this bug?"
44
- placeholder: "Whenever I visit the user account page (1-2 times a week)"
45
- - type: dropdown
46
- id: app-clients
47
- attributes:
48
- label: Which browser/client application did you encounter the bug in? (if applicable)
49
- description: "Tell us what app/client you found the bug in. You can select multiple options if necessary."
50
- multiple: true
51
- options:
52
- - Chrome / Chromium
53
- - Brave
54
- - Safari
55
- - Microsoft Edge
56
- - Mozilla Firefox
57
- - API (RPC/REST/gRPC)
58
- - Keplr/other wallet app
59
- - Other
60
- - Not applicable
61
- - type: textarea
62
- id: logs
63
- attributes:
64
- label: Relevant log output
65
- description: Please copy-paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
66
- render: shell
67
- - type: checkboxes
68
- id: terms
69
- attributes:
70
- label: Code of Conduct
71
- description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cheqd/.github/blob/main/CODE_OF_CONDUCT.md)
72
- options:
73
- - label: I agree to follow this project's Code of Conduct
74
- required: true
@@ -1,14 +0,0 @@
1
- blank_issues_enabled: true
2
-
3
- contact_links:
4
- - name: System Status
5
- url: https://status.cheqd.net
6
- about: System status reporting tool for cheqd services
7
-
8
- - name: Technical Documentation
9
- url: https://docs.cheqd.io
10
- about: Technical Documentation for cheqd projects
11
-
12
- - name: Community Slack
13
- url: http://cheqd.link/join-cheqd-slack
14
- about: Community Slack for Q&A and discussions
@@ -1,27 +0,0 @@
1
- name: Feature Request
2
- description: Request a new feature
3
- title: "[feature]: "
4
- labels: ["feature-request"]
5
- body:
6
- - type: textarea
7
- id: feature-info
8
- attributes:
9
- label: What is the feature you'd like to see?
10
- description: Also tell what prompted this idea?
11
- placeholder: I would like to see...
12
- validations:
13
- required: true
14
- - type: textarea
15
- id: examples
16
- attributes:
17
- label: Are there any examples of where similar features are available?
18
- description: Feel free to provide any links, screenshots, mockups etc that would help illustrate this idea better.
19
- placeholder: An example of this feature is...
20
- - type: checkboxes
21
- id: terms
22
- attributes:
23
- label: Code of Conduct
24
- description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cheqd/.github/blob/main/CODE_OF_CONDUCT.md)
25
- options:
26
- - label: I agree to follow this project's Code of Conduct
27
- required: true
@@ -1,43 +0,0 @@
1
- #################################
2
- # GitHub Dependabot Config info #
3
- #################################
4
-
5
- version: 2
6
- updates:
7
-
8
- # Maintain dependencies for GitHub Actions
9
- - package-ecosystem: "github-actions"
10
- directory: "/"
11
- schedule:
12
- interval: "weekly"
13
-
14
- # Maintain dependencies for NPM
15
- - package-ecosystem: "npm"
16
- target-branch: "develop"
17
- directory: "/"
18
- schedule:
19
- interval: "weekly"
20
-
21
- # Maintain dependencies for Docker
22
- - package-ecosystem: "docker"
23
- directory: "/"
24
- schedule:
25
- interval: "weekly"
26
-
27
- # Maintain dependencies for Golang
28
- - package-ecosystem: "gomod"
29
- directory: "/"
30
- schedule:
31
- interval: "weekly"
32
-
33
- # Maintain dependencies for Terraform
34
- - package-ecosystem: "terraform"
35
- directory: "/"
36
- schedule:
37
- interval: "weekly"
38
-
39
- # Maintain dependencies for Python
40
- - package-ecosystem: "pip"
41
- directory: "/"
42
- schedule:
43
- interval: "weekly"
@@ -1,37 +0,0 @@
1
- module.exports = {
2
- rules: {
3
- 'type-case': [2, 'always', 'lower-case'],
4
- 'type-empty': [2, 'never'],
5
- 'type-enum': [
6
- 2,
7
- 'always',
8
- [
9
- 'build',
10
- 'chore',
11
- 'ci',
12
- 'docs',
13
- 'feat',
14
- 'fix',
15
- 'perf',
16
- 'refactor',
17
- 'revert',
18
- 'style',
19
- 'test',
20
- ],
21
- ],
22
- 'scope-case': [2, 'always', 'lower-case'],
23
- 'scope-empty': [1, 'never'],
24
- 'subject-case': [
25
- 2,
26
- 'always',
27
- ['sentence-case'],
28
- ],
29
- 'subject-empty': [1, 'never'],
30
- 'subject-full-stop': [1, 'never', '.'],
31
- 'header-max-length': [2, 'always', 100],
32
- 'body-leading-blank': [1, 'always'],
33
- 'body-max-line-length': [2, 'always', 1000],
34
- 'footer-leading-blank': [1, 'always'],
35
- 'footer-max-line-length': [2, 'always', 100],
36
- },
37
- };
@@ -1,18 +0,0 @@
1
- {
2
- "env": {
3
- "node": true,
4
- "jest/globals": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended",
9
- "plugin:prettier/recommended"
10
- ],
11
- "parser": "@typescript-eslint/parser",
12
- "parserOptions": {
13
- "ecmaVersion": 2018,
14
- "sourceType": "module"
15
- },
16
- "plugins": ["@typescript-eslint", "jest"],
17
- "rules": {}
18
- }
@@ -1,139 +0,0 @@
1
- default: false # includes/excludes all rules by default
2
-
3
- # Heading levels should only increment by one level at a time <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md001>
4
- MD001: true
5
-
6
- # Heading style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md003>
7
- MD003:
8
- style: 'consistent'
9
-
10
- # Unordered list style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md004>
11
- MD004:
12
- style: 'consistent'
13
-
14
- # Inconsistent indentation for list items at the same level <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md005>
15
- MD005: true
16
-
17
- # Consider starting bulleted lists at the beginning of the line <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md006>
18
- MD006: true
19
-
20
- # Unordered list indentation <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md007>
21
- MD007: false
22
-
23
- # Trailing spaces <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md009>
24
- MD009: true
25
-
26
- # Hard tabs <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md010>
27
- MD010: false
28
-
29
- # Reversed link syntax <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md011>
30
- MD011: true
31
-
32
- # Multiple consecutive blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md012>
33
- MD012:
34
- maximum: 2
35
-
36
- # Line length <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013>
37
- MD013: false
38
-
39
- # Dollar signs used before commands without showing output <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md014>
40
- MD014: true
41
-
42
- # No space after hash on atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md018>
43
- MD018: true
44
-
45
- # Multiple spaces after hash on atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md019>
46
- MD019: true
47
-
48
- # No space inside hashes on closed atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md020>
49
- MD020: true
50
-
51
- # Multiple spaces inside hashes on closed atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md021>
52
- MD021: true
53
-
54
- # Headings should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md022>
55
- MD022: true
56
-
57
- # Headings must start at the beginning of the line <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md023>
58
- MD023: true
59
-
60
- # Multiple headings with the same content <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024>
61
- MD024:
62
- allow_different_nesting: true
63
-
64
- # Multiple top level headings in the same document <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md025>
65
- MD025: false
66
-
67
- # Trailing punctuation in heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md026>
68
- MD026: true
69
-
70
- # Multiple spaces after blockquote symbol <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md027>
71
- MD027: true
72
-
73
- # Blank line inside blockquote <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md028>
74
- MD028: false
75
-
76
- # Ordered list item prefix <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md029>
77
- MD029:
78
- style: 'one_or_ordered'
79
-
80
- # Spaces after list markers <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030>
81
- MD030: true
82
-
83
- # Fenced code blocks should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md031>
84
- MD031: true
85
-
86
- # Lists should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md032>
87
- MD032: true
88
-
89
- # Inline HTML <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md033>
90
- MD033:
91
- allowed_elements: ['a']
92
-
93
- # Bare URL used <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md034>
94
- MD034: true
95
-
96
- # Horizontal rule style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md035>
97
- MD035:
98
- style: 'consistent'
99
-
100
- # Emphasis used instead of a heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md036>
101
- MD036: true
102
-
103
- # Spaces inside emphasis markers <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md037>
104
- MD037: true
105
-
106
- # Spaces inside code span elements <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md038>
107
- MD038: true
108
-
109
- # Spaces inside link text <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md039>
110
- MD039: true
111
-
112
- # Fenced code blocks should have a language specified <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md040>
113
- MD040: true
114
-
115
- # First line in file should be a top level heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md041>
116
- MD041: true
117
-
118
- # No empty links <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md042>
119
- MD042: true
120
-
121
- # Required heading structure <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md043>
122
- MD043: false
123
-
124
- # Proper names should have the correct capitalization <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md044>
125
- MD044: false
126
-
127
- # Images should have alternate text (alt text) <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md045>
128
- MD045: true
129
-
130
- # Code block style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md046>
131
- MD046:
132
- style: 'consistent'
133
-
134
- # Files should end with a single newline character <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md047>
135
- MD047: true
136
-
137
- # Code fence style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md048>
138
- MD048:
139
- style: 'consistent'
@@ -1,13 +0,0 @@
1
- {
2
- "aliveStatusCodes": [0, 200, 206, 429, 403, 501, 999],
3
- "replacementPatterns": [
4
- {
5
- "pattern": "\" %}",
6
- "replacement": ""
7
- },
8
- {
9
- "pattern": "&quot; %}",
10
- "replacement": ""
11
- }
12
- ]
13
- }
@@ -1,26 +0,0 @@
1
- name: "Build & Test"
2
- on:
3
- workflow_call:
4
- defaults:
5
- run:
6
- shell: bash
7
-
8
- jobs:
9
- build:
10
- name: "Build Node.js"
11
- runs-on: ubuntu-latest
12
-
13
- steps:
14
- - uses: actions/checkout@v3
15
-
16
- - uses: actions/setup-node@v3
17
- with:
18
- node-version: 18
19
- cache: 'npm'
20
- cache-dependency-path: '**/package-lock.json'
21
-
22
- - name: "Clean install dependencies"
23
- run: npm ci
24
-
25
- - name: "Run npm build"
26
- run: npm run build
@@ -1,45 +0,0 @@
1
- name: "Cleanup - Actions"
2
- on:
3
- workflow_dispatch:
4
- inputs:
5
- days:
6
- description: 'Retain days'
7
- required: true
8
- type: string
9
- default: "30"
10
- minimum_runs:
11
- description: 'Minimum runs to keep for each workflow'
12
- required: true
13
- type: string
14
- default: "0"
15
- delete_workflow_pattern:
16
- description: 'Name/filename of workflow. Default is all.'
17
- required: false
18
- type: string
19
- delete_workflow_by_state_pattern:
20
- description: 'Remove workflow by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually'
21
- required: true
22
- default: All
23
- type: choice
24
- options:
25
- - All
26
- - active
27
- - deleted
28
- - disabled_inactivity
29
- - disabled_manually
30
-
31
- jobs:
32
-
33
- delete-runs:
34
- name: "Delete old workflow runs"
35
- runs-on: ubuntu-latest
36
-
37
- steps:
38
- - uses: Mattraks/delete-workflow-runs@v2
39
- with:
40
- token: ${{ github.token }}
41
- repository: ${{ github.repository }}
42
- retain_days: ${{ github.event.inputs.days }}
43
- keep_minimum_runs: ${{ github.event.inputs.minimum_runs }}
44
- delete_workflow_pattern: ${{ github.event.inputs.delete_workflow_pattern }}
45
- delete_workflow_by_state_pattern: ${{ github.event.inputs.delete_workflow_by_state_pattern }}
@@ -1,24 +0,0 @@
1
- name: "Cache Cleanup - Automatic"
2
- on:
3
- pull_request:
4
- types:
5
- - closed
6
- defaults:
7
- run:
8
- shell: bash
9
-
10
-
11
- jobs:
12
-
13
- cache-purge:
14
- name: "Purge Actions cache"
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
-
19
- - name: "Delete Branch Cache Action"
20
- uses: snnaplab/delete-branch-cache-action@v1.0.0
21
- with:
22
- # Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop'
23
- ref: refs/pull/${{ github.event.number }}/merge
24
- github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -1,21 +0,0 @@
1
- name: "Cache Cleanup - Manual"
2
- on:
3
- workflow_dispatch:
4
- inputs:
5
- dry-run:
6
- description: "Dry run only?"
7
- required: true
8
- type: boolean
9
- default: false
10
-
11
- jobs:
12
-
13
- delete-caches:
14
- name: "Delete Actions caches"
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - name: "Wipe Github Actions cache"
19
- uses: easimon/wipe-cache@v2
20
- with:
21
- dry-run: ${{ github.event.inputs.dry-run }}
@@ -1,40 +0,0 @@
1
- name: "CodeQL"
2
- on:
3
- push:
4
- branches:
5
- - main
6
- - develop
7
- concurrency:
8
- group: ${{ github.workflow }}-${{ github.ref }}
9
- cancel-in-progress: true
10
- defaults:
11
- run:
12
- shell: bash
13
-
14
-
15
- jobs:
16
-
17
- codeql-analysis:
18
- name: "CodeQL Analysis"
19
- runs-on: ubuntu-latest
20
- permissions:
21
- security-events: write
22
-
23
- steps:
24
- - uses: actions/checkout@v3
25
- with:
26
- fetch-depth: 0
27
-
28
- - name: Initialise CodeQL
29
- uses: github/codeql-action/init@v2
30
- with:
31
- languages: 'javascript'
32
- queries: security-and-quality
33
-
34
- - name: Build
35
- run: |
36
- npm ci
37
- npm run build
38
-
39
- - name: Perform CodeQL Analysis
40
- uses: github/codeql-action/analyze@v2
@@ -1,30 +0,0 @@
1
- name: "Workflow Dispatch"
2
- on: push
3
- concurrency:
4
- group: ${{ github.workflow }}-${{ github.ref }}
5
- cancel-in-progress: true
6
-
7
-
8
- jobs:
9
-
10
- call-lint:
11
- name: "Lint"
12
- uses: ./.github/workflows/lint.yml
13
-
14
- call-build:
15
- name: "Build & Test"
16
- needs: call-lint
17
- uses: ./.github/workflows/build.yml
18
-
19
- call-test:
20
- name: "Tests"
21
- needs: call-build
22
- uses: ./.github/workflows/test.yml
23
- secrets: inherit
24
-
25
- call-release:
26
- name: "Release"
27
- needs: call-test
28
- if: ${{ github.ref_protected == true }}
29
- uses: ./.github/workflows/release.yml
30
- secrets: inherit
@@ -1,51 +0,0 @@
1
- name: "Lint"
2
- on:
3
- workflow_call:
4
- defaults:
5
- run:
6
- shell: bash
7
-
8
-
9
- jobs:
10
-
11
- md-link-check:
12
- name: "Broken Markdown links"
13
- runs-on: ubuntu-latest
14
-
15
- steps:
16
- - uses: actions/checkout@v3
17
-
18
- - name: Run Markdown link check
19
- uses: gaurav-nelson/github-action-markdown-link-check@v1
20
- with:
21
- config-file: '.github/linters/mlc_config.json'
22
- use-quiet-mode: 'yes'
23
-
24
- super-lint:
25
- name: "Super Linter"
26
- runs-on: ubuntu-latest
27
-
28
- steps:
29
- - uses: actions/checkout@v3
30
- with:
31
- fetch-depth: 0 # Required to fetch version
32
-
33
- - name: Run Super Linter
34
- uses: github/super-linter/slim@v4
35
- env:
36
- IGNORE_GITIGNORED_FILES: true
37
- DEFAULT_BRANCH: main
38
- LINTER_RULES_PATH: '.github/linters'
39
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
- LOG_LEVEL: WARN
41
- VALIDATE_ALL_CODEBASE: true
42
- MULTI_STATUS: true
43
-
44
- VALIDATE_GITHUB_ACTIONS: true
45
- VALIDATE_JAVASCRIPT_ES: true
46
- VALIDATE_JSONC: true
47
- VALIDATE_JSX: true
48
- VALIDATE_MARKDOWN: true
49
- VALIDATE_TSX: true
50
- VALIDATE_TYPESCRIPT_ES: true
51
- VALIDATE_YAML: true