lookup: re-add winston #755
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: Node.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: Lint using ESLint and Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Use LTS Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install packages | |
run: npm install | |
- name: Run lint | |
run: npm run lint | |
test: | |
name: Test | |
uses: pkgjs/action/.github/workflows/[email protected] | |
with: | |
runs-on: ubuntu-latest, macos-latest, windows-latest | |
test-command: npm run tap -- --coverage-report=lcov | |
post-test-steps: | | |
- name: Coverage Report | |
uses: codecov/codecov-action@v3 |