Add opts.fileRegex
option to ignore files in migrations dir
#136
Workflow file for this run
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: [push, pull_request] | |
jobs: | |
test: | |
name: Node.js v${{ matrix.nodejs }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-13] | |
nodejs: [8, 10, 12, 14] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.nodejs }} | |
- name: Install | |
run: npm install | |
- name: Install (coverage) | |
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest' | |
run: npm install -g c8 | |
- name: Test | |
run: npm test | |
- name: Test (coverage) | |
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest' | |
run: c8 npm test | |
- name: Report (coverage) | |
if: matrix.nodejs >= 14 && matrix.os == 'ubuntu-latest' | |
run: | | |
c8 report --reporter=text-lcov > coverage.lcov | |
bash <(curl -s https://codecov.io/bash) | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |