updated more javascript to typescript so that everything is compiled … #343
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: 'CI' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [16, 18] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: harmon758/postgresql-action@v1 | |
with: | |
postgresql version: '15' | |
postgresql db: 'postgres' | |
postgresql user: 'postgres' | |
postgresql password: 'postgres' | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run test-ci |