- Notifications
You must be signed in to change notification settings - Fork0
Fix base branch name#3
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:Tests | |
| on: | |
| push: | |
| branches:[ main ] | |
| pull_request: | |
| pull_request_target: | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| JSUnit: | |
| runs-on:ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version:[ 20.x ] | |
| steps: | |
| -uses:actions/checkout@v4 | |
| -name:Use Node.js ${{ matrix.node-version }} | |
| uses:actions/setup-node@v3 | |
| with: | |
| node-version:${{ matrix.node-version }} | |
| cache:'npm' | |
| -run:yarn install --immutable --immutable-cache --check-cache | |
| -run:yarn test |