Skip to content

Export Utils

Export Utils #229

Workflow file for this run

name: Check pull request
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: yarn install
run: yarn install --immutable
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: set image name
run: |
echo "IMG_NAME=${{ steps.login-ecr.outputs.registry }}/kilt/prototype-chain:latest" >> "$GITHUB_ENV"
- name: pull image
run: docker pull $IMG_NAME
- name: run tests
timeout-minutes: 10
env:
TESTCONTAINERS_NODE_IMG: ${{ env.IMG_NAME }}
run: |
yarn test