Skip to content

Bump jest-each from 29.5.0 to 29.7.0 #388

Bump jest-each from 29.5.0 to 29.7.0

Bump jest-each from 29.5.0 to 29.7.0 #388

Workflow file for this run

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