Skip to content

Feature #191: playwright 적용해서 e2e 테스트하기 (#203) #142

Feature #191: playwright 적용해서 e2e 테스트하기 (#203)

Feature #191: playwright 적용해서 e2e 테스트하기 (#203) #142

Workflow file for this run

name: Froxy-CI Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
fe-ci:
runs-on: ubuntu-20.04
if: contains(github.event.pull_request.labels.*.name, '💻 Fe')
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # 적절한 Node.js 버전으로 설정
cache: 'pnpm' # pnpm 캐싱 활성화
- name: Create .env file
run: |
echo "${{ secrets.FE_ENV }}" > apps/frontend/.env
- name: Install dependencies #라이브러리설치
run: |
pnpm install --no-frozen-lockfile
- name: Run lint & Turbo build
run: |
pnpm lint --filter=frontend
pnpm turbo run build --filter=frontend