Skip to content

Commit

Permalink
feat: Bump LogTo version to v1.15.0, SDK to v3 [DEV-3850] (#179)
Browse files Browse the repository at this point in the history
* chore: Bump logto version to v1.15.0

* Update mlc_config.json

* Bump CodeQL

* Update workflows

* Update dependabot.yml

* Bump node version

* npm update

---------

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
  • Loading branch information
filipdjokic and ankurdotb authored Apr 18, 2024
1 parent b667a46 commit fe90a5e
Show file tree
Hide file tree
Showing 9 changed files with 1,353 additions and 1,344 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ updates:
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
update-types:
- version-update:semver-patch

# Maintain dependencies for NPM
- package-ecosystem: "npm"
Expand Down
3 changes: 3 additions & 0 deletions .github/linters/mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"ignorePatterns": [
{
"pattern": "^https://resolver.cheqd.net/"
},
{
"pattern": "^https://twitter.com/"
}
],
"retryOn429": true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'

- name: "Clean install dependencies"
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
cache-to: type=gha,mode=min

- name: Upload Docker test image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logto-staging
path: logto-staging.tar
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'

- 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
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Download Docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: logto-staging

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### STAGE 1: Build custom connector for Telegram ###
###############################################################

FROM node:18-alpine as builder
FROM node:20-alpine as builder

# Set working directory & bash defaults
WORKDIR /home/node/app
Expand All @@ -21,7 +21,7 @@ RUN npm run build
### STAGE 2: Build LogTo image with custom connector ###
###############################################################

FROM svhd/logto:1.10.0 as runner
FROM svhd/logto:1.15.0 as runner

# Set Node.js environment
ENV NODE_ENV=production
Expand Down
Loading

0 comments on commit fe90a5e

Please sign in to comment.