change test execution location to __tests__ #2
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: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Set Node.js 22.x | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22.x | |
| - name: Run install | |
| uses: borales/actions-yarn@v5 | |
| with: | |
| cmd: install # will run `yarn install` command | |
| - name: Test the app | |
| uses: borales/actions-yarn@v5 | |
| with: | |
| cmd: test # will run `yarn test` command | |
| dir: __tests__ |