feat(be): separate socket server #17
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: PR Test | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm install -g pnpm && pnpm install | |
- name: Install Playwright Browsers | |
run: | | |
cd apps/client | |
pnpm exec playwright install --with-deps | |
cd ../.. | |
- name: Create .env file | |
run: echo "${{ secrets.FRONT_END_ENV }}" > apps/client/.env | |
- name: pnpx prisma generate | |
run: | | |
cd apps/server | |
pnpx prisma generate | |
cd ../.. | |
- name: Run tests | |
run: pnpm test |