Add some type exports #12
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: Build, Quality, Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop* | |
jobs: | |
default: | |
name: Default quality check | |
container: | |
image: node:20-alpine | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Cache modules | |
uses: actions/cache@v1 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: npm run build | |
- name: Run tests | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: npm run test -- --logHeapUsage |