Skip to content

Commit 9437e4c

Browse files
fix(deps): update dependency @aws-sdk/client-s3 to ^3.958.0 (#547)
* fix(deps): update dependency @aws-sdk/client-s3 to ^3.958.0 * Update workflow script * Fix link checker --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Emanuel Tesař <e.tesarr@gmail.com>
1 parent 507260f commit 9437e4c

5 files changed

Lines changed: 178 additions & 502 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
# Read & write - access to actions and code
1111
# 2. GH_USER_NAME - The name (not username) associated with the Git user. e.g. John Smith
1212
# 3. GH_USER_EMAIL - The email associated with the Git user
13-
# 4. NPM_TOKEN - A token for publishing to npm
14-
# 5. DOCKERHUB_TOKEN - Docker Hub publishing token
13+
# 4. DOCKERHUB_TOKEN - Docker Hub publishing token
1514
########################################################################################
1615
name: Continuous Build
1716

@@ -41,7 +40,7 @@ jobs:
4140
- name: Setup Node
4241
uses: actions/setup-node@v6
4342
with:
44-
node-version: '24'
43+
node-version: 24
4544
cache: 'pnpm'
4645
- name: Install Dependencies
4746
run: pnpm install --frozen-lockfile
@@ -64,7 +63,7 @@ jobs:
6463
- name: Setup Node
6564
uses: actions/setup-node@v6
6665
with:
67-
node-version: '24'
66+
node-version: 24
6867
cache: 'pnpm'
6968
- name: Install dependencies
7069
run: pnpm install --frozen-lockfile
@@ -99,9 +98,6 @@ jobs:
9998
needs: required-checks-passed
10099
# Only tag and release on pushes to main
101100
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
102-
strategy:
103-
matrix:
104-
node-version: [20]
105101
permissions:
106102
id-token: write
107103
contents: write
@@ -115,7 +111,8 @@ jobs:
115111
- name: Setup Node
116112
uses: actions/setup-node@v6
117113
with:
118-
node-version: ${{ matrix.node-version }}
114+
node-version: 24
115+
registry-url: 'https://registry.npmjs.org'
119116
cache: 'pnpm'
120117
- name: Configure Git credentials
121118
run: |
@@ -138,18 +135,10 @@ jobs:
138135
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
139136
- name: Publish airnode-feed to npm
140137
if: ${{ steps.validate-tag.outputs.new-tag }}
141-
run: |
142-
npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
143-
cd packages/airnode-feed && pnpm publish --access public
144-
env:
145-
NPM_CONFIG_PROVENANCE: true
138+
run: cd packages/airnode-feed && pnpm publish --access public
146139
- name: Publish signed-api to npm
147140
if: ${{ steps.validate-tag.outputs.new-tag }}
148-
run: |
149-
npm config set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
150-
cd packages/signed-api && pnpm publish --access public
151-
env:
152-
NPM_CONFIG_PROVENANCE: true
141+
run: cd packages/signed-api && pnpm publish --access public
153142
- name: Set up Docker Buildx
154143
if: ${{ steps.validate-tag.outputs.new-tag }}
155144
uses: docker/setup-buildx-action@v3

packages/airnode-feed/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ To deploy on premise you can use the Docker image by reading the instructions be
7777

7878
To run the Airnode feed docker image you need to:
7979

80+
<!-- markdown-link-check-disable -->
81+
8082
1. Mount config folder to `/app/config`. The folder should contain the `airnode-feed.json` and `secrets.env` files.
8183
2. Pass the `-it --init` flags to the docker run command. This is needed to ensure the docker is stopped gracefully. See
8284
[this](https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#handling-kernel-signals) for details.
@@ -87,6 +89,8 @@ To run the Airnode feed docker image you need to:
8789
6. Lastly, if you are using Docker Desktop and you want to access the host machine, you need to change the host URL from
8890
`localhost` to `host.docker.internal` in the configuration files.
8991

92+
<!-- markdown-link-check-enable -->
93+
9094
For example:
9195

9296
```sh

packages/signed-api/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ To deploy on premise you can use the Docker instructions below.
7070

7171
The API is also dockerized. To run the dockerized APi, you need to:
7272

73+
<!-- markdown-link-check-disable -->
74+
7375
1. Publish the port of the API to the host machine. The port number of signed API in the container is set to `80`. So
7476
the command should look like `--publish <HOST_PORT>:80`.
7577
2. Mount config folder to `/app/config`. The folder should contain the `signed-api.json` file.
@@ -78,6 +80,8 @@ The API is also dockerized. To run the dockerized APi, you need to:
7880
4. Specify the `--env-file` with the path to the `.env` file containing the [ENV configuration](#environment-variables).
7981
5. Optionally, pass the `--rm` flag to remove the container after it is stopped.
8082

83+
<!-- markdown-link-check-enable -->
84+
8185
For example:
8286

8387
```sh

packages/signed-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@api3/airnode-feed": "workspace:*",
3939
"@api3/commons": "^1.0.1",
4040
"@api3/promise-utils": "^0.4.0",
41-
"@aws-sdk/client-s3": "^3.956.0",
41+
"@aws-sdk/client-s3": "^3.958.0",
4242
"dotenv": "^17.2.3",
4343
"ethers": "^5.8.0",
4444
"express": "^5.2.1",

0 commit comments

Comments
 (0)