diff --git a/.github/workflows/treetracker-wallet-api-build-deploy-dev.yml b/.github/workflows/treetracker-wallet-api-build-deploy-dev.yml index ac8f6c72..e19d593a 100644 --- a/.github/workflows/treetracker-wallet-api-build-deploy-dev.yml +++ b/.github/workflows/treetracker-wallet-api-build-deploy-dev.yml @@ -67,7 +67,7 @@ jobs: echo '${{ steps.package-version.outputs.current-version }}' > image-tag - name: persist tag name - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: image-tag-${{github.sha}} path: image-tag @@ -81,7 +81,7 @@ jobs: github.event_name == 'push' && github.repository == 'Greenstand/${{ github.event.repository.name }}' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: get-npm-version id: package-version uses: martinbeentjes/npm-get-version-action@master @@ -89,7 +89,7 @@ jobs: path: ./ - name: Download tag name - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: image-tag-${{github.sha}} @@ -129,12 +129,12 @@ jobs: ENVIRONMENT: dev steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Install mocha run: npm install -g mocha diff --git a/server/infra/aws/s3.js b/server/infra/aws/s3.js index d7191ce0..89ed8259 100644 --- a/server/infra/aws/s3.js +++ b/server/infra/aws/s3.js @@ -1,7 +1,5 @@ const { S3Client } = require('@aws-sdk/client-s3'); -console.log(process.env.S3_REGION); - const s3 = new S3Client({ credentials: { accessKeyId: process.env.S3_ACCESS_KEY_ID,