release: v1.0.6 #229
Workflow file for this run
This file contains hidden or 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: [ push, pull_request ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| node-version: [20.x, 22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: node --version | |
| - run: npm --version | |
| - run: docker -v | |
| - run: docker compose -v | |
| - run: docker compose up -d | |
| - run: npm install | |
| - run: npm run lint | |
| - run: npm run test:types | |
| - run: npm run coverage | |
| - run: cat coverage/lcov.info | ./node_modules/.bin/coveralls | |
| - run: docker compose down | |
| env: | |
| CI: true | |
| DB_HOST: localhost | |
| DB_PORT: 5433 | |
| DB_USER: postgres | |
| DB_PASSWORD: postgres | |
| DB_SSL: false | |
| COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |