This repository has been archived by the owner on May 17, 2024. It is now read-only.
Bump aws-cdk from 2.141.0 to 2.142.0 in /aws-ecs #1489
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: test | |
on: push | |
jobs: | |
test-aws-ecs: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./aws-ecs | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: Install CDK and typescript | |
run: npm install -g aws-cdk typescript | |
- name: create dummy folder for assets | |
run: mkdir -p ../../findy-wallet-pwa | |
- name: install deps | |
run: npm ci | |
- name: test | |
run: npm test | |
- name: build | |
run: npm run build | |
license-check-aws-ecs: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./aws-ecs | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: install deps | |
run: npm ci | |
- name: run check | |
run: npm run licenses:check | |
test-localhost: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./docker-compose | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup env | |
run: make up-d | |
- uses: actions/checkout@v4 | |
with: | |
repository: 'findy-network/findy-wallet-pwa' | |
path: 'findy-wallet-pwa' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: install cli | |
run: | | |
curl https://raw.githubusercontent.com/findy-network/findy-agent-cli/HEAD/install.sh > install.sh | |
chmod a+x install.sh | |
sudo ./install.sh -b /bin | |
- name: run tests | |
run: | | |
cd ../findy-wallet-pwa | |
npm run test:e2e | |
env: | |
AGENCY_REGISTER_WAIT_TIME: "60" | |
FCLI_TLS_PATH: "${{ github.workspace }}/docker-compose/cert" | |
- name: Collect docker logs | |
if: ${{ failure() }} | |
uses: jwalton/gh-docker-logs@v2 | |
with: | |
dest: './findy-wallet-pwa/e2e/test/tests_output/docker-logs' | |
- name: archive logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-logs | |
path: ./findy-wallet-pwa/e2e/test/tests_output/ |