Merge pull request #49 from NodePit/dependabot/npm_and_yarn/yauzl-3.2.1 #118
This file contains hidden or 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] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v3 | |
| with: | |
| # Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 | |
| node-version: ">=20" | |
| - name: Lint, test, and build | |
| run: | | |
| npm install -g yarn | |
| yarn install | |
| yarn lint | |
| yarn run test --coverage | |
| yarn build | |
| - uses: codecov/codecov-action@v4.0.0 | |
| with: | |
| file: ./coverage/coverage-final.json | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true |