deps(renovate): update dependency lint-staged to v15 #2609
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
on: [push, pull_request] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: npm | |
- run: npm ci | |
- run: npm run lint | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: npm | |
- run: npm ci | |
- run: npm run build | |
- run: npm run test:cjs | |
- run: npm run build:esm -- --sourceMap | |
- run: npx c8 npm run test:esm | |
- run: npx c8 report --reporter=text-lcov > coverage.lcov | |
- uses: codecov/codecov-action@v3 |