Feature/40 form components #1
Workflow file for this run
This file contains 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: Vitest Test on Pull Request | |
on: | |
pull_request: | |
branches: | |
- develop # Specify the branch that triggers the workflow | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' # Specify Node.js version (adjust as needed) | |
- name: Install dependencies | |
run: npm install --prefix /nextjs | |
- name: Run Vitest tests | |
run: npm test --prefix /nextjs -- --coverage # Adjust the path to your Next.js project |