Bump @aws-sdk/client-s3 from 3.421.0 to 3.440.0 #389
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_call: | |
merge_group: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm ci | |
- run: npm run unit-test | |
integration-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm ci | |
- name: Start localstack | |
run: docker compose -f docker-compose.ci.yml up -d | |
- name: Wait for localstack to be running | |
run: sleep 15s | |
# curl fails with exit code 52 for some reason | |
# run: | | |
# until [ "$(curl -s "http://localhost:4566/" | jq '.status == "running"')" ]; do | |
# sleep 1 | |
# done | |
- run: chmod 500 create-localstack-resources.sh && ./create-localstack-resources.sh | |
- run: npm run integration-test | |
- name: extract logs | |
if: ${{ failure() }} | |
run: docker compose -f docker-compose.ci.yml logs > docker-compose.log | |
- name: upload logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: logs | |
path: docker-compose.log |