Skip to content

chore(deps-dev): bump jest and @types/jest #278

chore(deps-dev): bump jest and @types/jest

chore(deps-dev): bump jest and @types/jest #278

Workflow file for this run

name: Tests
on:
push:
merge_group:
workflow_dispatch:
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: 🧪 Run tests
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: write
strategy:
matrix:
node-version: [16, 18, 20, 22]
env:
NODE_VERSION: ${{ matrix.node-version }}
AWS_REGION: us-east-1
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
role-to-assume: arn:aws:iam::211125641521:role/github-e2e-test
aws-region: us-east-1
- name: Setup java 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Install dependencies
run: npm i
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
role-to-assume: arn:aws:iam::211125641521:role/github-e2e-test
aws-region: us-east-1
- name: Run tests
run: npm run test:ci && npm run test:integration