chore: add ci/cd for tests on different packages #1
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: MERN Sample App - Frontend Tests | |
on: | |
push: | |
paths: | |
- "packages/frontend/**" | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛒 Checkout Repository | |
uses: actions/checkout@v4 | |
- name: 🤳 Install | |
uses: ./.github/composite-actions/install | |
- name: 🚀 Run Frontend Tests | |
run: pnpm run frontend:test |