chore: add env step in gh action

This commit is contained in:
pit
2023-10-03 10:19:54 +01:00
committed by Mythie
parent 9afe8731b1
commit 7942057c50

View File

@ -3,7 +3,7 @@ on:
push: push:
branches: [feat/refresh, feat/add-e2e-testing-playwright] branches: [feat/refresh, feat/add-e2e-testing-playwright]
pull_request: pull_request:
branches: [feat/refresh, feat/add-e2e-testing-playwright] branches: [feat/refresh]
jobs: jobs:
e2e_tests: e2e_tests:
timeout-minutes: 60 timeout-minutes: 60
@ -33,6 +33,8 @@ jobs:
run: npm cache clean --force && npm install run: npm cache clean --force && npm install
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Copy env
run: cp .env.example .env
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: npx playwright install --with-deps run: npx playwright install --with-deps
- name: Install Prisma Client - name: Install Prisma Client