Skip to content

Commit

Permalink
feat: Update did-jwt to 8.x.x, secp256k1 to 5.x.x [DEV-4255] (#375)
Browse files Browse the repository at this point in the history
* build: bump deps v2.4.x

* Downgrade uint8arrays

* Downgrade deps

* Sync workflows

* Sync updates in v4

* ci: Update Markdown linter config [skip ci]

* Update codeql.yml

* Update dispatch.yml

* Add semantic-release package

* Downgrade semantic-releases to v18

* Support v18lts (#376)

* build: Downgrade semantic release to support nodev18

* Bump semantic release to support nodev18lts

* npm update

* Bump tsproto

* downgrade to node v18

* Update package.json

* Bump cosmjs to 0.30.1

---------

Co-authored-by: Ankur Banerjee <[email protected]>
  • Loading branch information
DaevMithran and ankurdotb authored Aug 29, 2024
1 parent ff23d4f commit 19b5f5a
Show file tree
Hide file tree
Showing 15 changed files with 3,273 additions and 3,983 deletions.
2 changes: 1 addition & 1 deletion .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ MD023: true

# Multiple headings with the same content <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024>
MD024:
allow_different_nesting: true
siblings_only: true

# Multiple top level headings in the same document <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md025>
MD025: false
Expand Down
40 changes: 20 additions & 20 deletions .github/linters/mlc_config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"aliveStatusCodes": [0, 200, 206, 403, 501, 999],
"replacementPatterns": [
{
"pattern": "\" %}",
"replacement": ""
},
{
"pattern": "&quot; %}",
"replacement": ""
}
],
"ignorePatterns": [
{
"pattern": "^https://resolver.cheqd.net/"
},
{
"pattern": "^https://twitter.com/"
}
],
"retryOn429": true
"aliveStatusCodes": [0, 200, 206, 403, 501, 999],
"replacementPatterns": [
{
"pattern": "\" %}",
"replacement": ""
},
{
"pattern": "&quot; %}",
"replacement": ""
}
],
"ignorePatterns": [
{
"pattern": "^https://resolver.cheqd.net/"
},
{
"pattern": "^https://twitter.com/"
}
],
"retryOn429": true
}
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: "Clean install dependencies"
run: npm ci
Expand All @@ -35,17 +34,16 @@ jobs:

integration-tests:
name: "Integration Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: build

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Start cheqd localnet
run: docker run --rm -d -p 26657:26657 ghcr.io/cheqd/cheqd-testnet:latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0

- name: Initialise CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: 'javascript'
queries: security-and-quality
Expand All @@ -37,4 +37,4 @@ jobs:
npm run build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
3 changes: 1 addition & 2 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:

call-build:
name: "Build & Test"
needs: call-lint
uses: ./.github/workflows/build.yml
secrets: inherit

call-release:
name: "Release"
needs: call-build
needs: [ call-lint, call-build ]
if: ${{ github.ref_protected == true }}
uses: ./.github/workflows/release.yml
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fetch-depth: 0 # Required to fetch version

- name: Run Super Linter
uses: github/super-linter/slim@v4
uses: github/super-linter/slim@v6
env:
IGNORE_GITIGNORED_FILES: true
DEFAULT_BRANCH: main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: amannn/action-semantic-pull-request@v5.2.0
- uses: amannn/action-semantic-pull-request@v5.5.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: "Obtain Github App token"
id: app-token
uses: getsentry/action-github-app-token@v2.0.0
uses: getsentry/action-github-app-token@v3.0.0
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
Expand Down
Loading

0 comments on commit 19b5f5a

Please sign in to comment.