Merge branch 'main' into dependabot/npm_and_yarn/main/aws-sdk-2.1612.0 #1025
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: Unit Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: | | |
yarn | |
- name: Compile and lint | |
run: | | |
yarn build | |
yarn lint | |
- name: Check code formatting | |
run: yarn format:check | |
- name: Run tests | |
run: | | |
yarn setup:dev | |
yarn test --detectOpenHandles |