feat: print lock file on failed packages #646
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: Node.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: Lint using ESLint | |
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@v3 | |
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/node-test.yaml@v0.1 | |
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 |