chore(deps): update actions/checkout action to v5 #1485
Workflow file for this run
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: Node.js CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| run_install: false | |
| - name: Git checkout | |
| uses: actions/checkout@v5 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - run: pnpm install && pnpm install codecov | |
| - run: pnpm run build | |
| - run: pnpm run lint | |
| - run: pnpm run cov | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| # build-windows: | |
| # runs-on: windows-latest | |
| # strategy: | |
| # matrix: | |
| # node-version: [12.x, 14.x] | |
| # steps: | |
| # - uses: actions/checkout@v2 | |
| # - name: Use Node.js ${{ matrix.node-version }} | |
| # uses: actions/setup-node@v1 | |
| # with: | |
| # node-version: ${{ matrix.node-version }} | |
| # - run: npm install | |
| # - run: npm run build --if-present | |
| # - run: npm run cov |