Skip to content

Commit 40d8f1b

Browse files
Merge branch 'main' into feat/sdk-bulk-processing-support
2 parents a43ab3d + 12c0ca4 commit 40d8f1b

File tree

16 files changed

+77
-86
lines changed

16 files changed

+77
-86
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
/etc/resolv.conf
7878
binary-fs: true
7979
fs-dir: /app
80-
heap: 7G
80+
heap: 1G
8181
dlopen: 1
82-
mprotect: 1
82+
mprotect: 0
8383
secrets:
8484
docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
8585
docker-password: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/reusable-npm.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ on:
1515
description: 'npm publish tag (e.g., latest, nightly)'
1616
default: ''
1717
type: string
18-
secrets:
19-
npm-token:
20-
description: 'NPM auth token (required unless `dry-run: true`)'
21-
required: false
2218

2319
jobs:
2420
npm-publish:
25-
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@publish-npm-v1.5.0
21+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@publish-npm-v1.6.0
2622
with:
2723
install-command: npm ci
2824
build-command: npm run build
@@ -31,5 +27,3 @@ jobs:
3127
version: ${{ inputs.version }}
3228
environment: ${{ (inputs.dry-run && '') || inputs.tag }}
3329
provenance: ${{ !inputs.dry-run }}
34-
secrets:
35-
npm-token: ${{ secrets.npm-token }}

.github/workflows/sdk-npm-publish.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# ⚠️ THIS WORKFLOW IS THE TRUSTED PUBLISHER CONFIGURED ON NPMJS.COM, DO NOT RENAME OR DELETE THIS FILE ⚠️
2+
name: Publish NPM Package
3+
4+
on:
5+
# For staging releases
6+
workflow_dispatch:
7+
# For latest releases
8+
release:
9+
types: [published]
10+
11+
permissions:
12+
id-token: write # Required for OIDC
13+
packages: write
14+
contents: read
15+
16+
jobs:
17+
set-staging-version:
18+
# Only run for manual dispatch on main branch
19+
if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }}
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v4
26+
- name: Set publish version
27+
id: set-staging-version
28+
run: |
29+
CURRENT_VERSION=$(npm pkg get version | tr -d '"')
30+
NIGHTLY_VERSION="${CURRENT_VERSION}-nightly-${GITHUB_SHA::7}"
31+
echo "VERSION=${NIGHTLY_VERSION}" >> $GITHUB_OUTPUT
32+
outputs:
33+
VERSION: ${{ steps.set-staging-version.outputs.VERSION }}
34+
35+
publish-npm-staging:
36+
# Only run for manual dispatch on main branch
37+
if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }}
38+
uses: ./.github/workflows/reusable-npm.yml
39+
needs: set-staging-version
40+
with:
41+
tag: ${{ github.event.inputs.tag }}
42+
version: ${{ needs.set-staging-version.outputs.VERSION }}
43+
44+
publish-npm-latest:
45+
# # Only run for release published with tag "web3mail-v*"
46+
if: ${{ github.event_name == 'release' && startsWith(github.ref_name,'web3mail-v') }}
47+
uses: ./.github/workflows/reusable-npm.yml
48+
with:
49+
tag: 'latest'

.github/workflows/sdk-release.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
".": "1.5.0",
3-
"dapp": "0.10.0"
2+
".": "1.6.0",
3+
"dapp": "0.10.1"
44
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.6.0](https://github.com/iExecBlockchainComputing/web3mail-sdk/compare/web3mail-v1.5.0...web3mail-v1.6.0) (2025-10-14)
6+
7+
8+
### Added
9+
10+
* Migrate `arbitrum-sepolia-testnet` from experimental to non-experimental network ([#230](https://github.com/iExecBlockchainComputing/web3mail-sdk/issues/230)) ([8a5ae6e](https://github.com/iExecBlockchainComputing/web3mail-sdk/commit/8a5ae6eb2d97c4224bec6e8f8483f36776dbd876))
11+
512
## [1.5.0](https://github.com/iExecBlockchainComputing/web3mail-sdk/compare/web3mail-v1.4.0...web3mail-v1.5.0) (2025-08-06)
613

714

dapp/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.10.1](https://github.com/iExecBlockchainComputing/web3mail-sdk/compare/dapp-v0.10.0...dapp-v0.10.1) (2025-09-03)
6+
7+
8+
### Changed
9+
10+
* remove mprotect option from sconification to reduce memory usage ([#228](https://github.com/iExecBlockchainComputing/web3mail-sdk/issues/228)) ([60cc042](https://github.com/iExecBlockchainComputing/web3mail-sdk/commit/60cc0428061c2fc85c353304a9d97a5a4bedafc0))
11+
512
## [0.10.0](https://github.com/iExecBlockchainComputing/web3mail-sdk/compare/dapp-v0.9.0...dapp-v0.10.0) (2025-07-29)
613

714

dapp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.19-alpine3.22
1+
FROM node:22-alpine3.22
22
WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci --production

dapp/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)