Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6
Update dist.#591
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:test-package | |
| permissions: | |
| contents:read | |
| on: | |
| push: | |
| branches:[ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on:ubuntu-latest | |
| strategy: | |
| fail-fast:false | |
| matrix: | |
| node-version:['18', '20', '22'] | |
| steps: | |
| -uses:actions/checkout@v4 | |
| -name:Set up Node ${{ matrix.node-version }} | |
| uses:actions/setup-node@v4 | |
| with: | |
| node-version:${{ matrix.node-version }} | |
| cache:'npm' | |
| -name:Install dependencies | |
| run:npm install | |
| -name:Run tests | |
| run:| | |
| npm test | |
| -name:Upload coverage report to Codecov | |
| run:| | |
| npm run coverage | |
| bash <(curl -s https://codecov.io/bash) |