test(week-1): add implementation and vitest suite for valid-anagram #6
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: DSA Tests | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Run Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js (v20) | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Setup pnpm Package Manager | |
| uses: pnpm/action-setup@v4 | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Execute Vitest Solutions | |
| run: pnpm test |