Skip to content

fix: align esm and cjs #225

fix: align esm and cjs

fix: align esm and cjs #225

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x, 18.x, 20.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 }}