Skip to content

Merge pull request #918 from nearst/dependabot/npm_and_yarn/types/aws… #50

Merge pull request #918 from nearst/dependabot/npm_and_yarn/types/aws…

Merge pull request #918 from nearst/dependabot/npm_and_yarn/types/aws… #50

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
strategy:
matrix:
node-version: [16, 18, 20]
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: Setup java 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:ci && npm run test:integration
- name: Upload coverage
if: matrix.node-version == 20
uses: coverallsapp/github-action@v2