chore(deps-dev): bump @commitlint/cli from 19.2.2 to 19.4.0 #365
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: E2E | |
on: pull_request | |
# START PLAYWRIGHT SPECIFIC CONFIG | |
jobs: | |
prepare_app: | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.43.0-focal | |
steps: | |
- uses: actions/checkout@master | |
- name: Copy envs | |
run: cp .env.dist .env | |
- name: Install root dependencies | |
run: npm ci | |
- name: Build ci | |
run: npm run build:ci | |
- name: Upload build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build | |
e2e_chrome: | |
needs: prepare_app | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.43.0-focal | |
defaults: | |
run: | |
working-directory: e2e | |
steps: | |
- uses: actions/checkout@master | |
- name: Download build | |
uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: build | |
- name: Copy e2e envs | |
run: cp .env.dist .env | |
- name: Install e2e dependencies | |
run: npm install | |
- name: Run build and tests | |
run: npm run test:chrome | |
- name: Upload test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: e2e-chrome-artifacts | |
path: | | |
e2e/test-report/ | |
e2e/test-results/ | |
retention-days: 30 | |
e2e_firefox: | |
needs: prepare_app | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.43.0-focal | |
options: --user 1001 | |
defaults: | |
run: | |
working-directory: e2e | |
steps: | |
- uses: actions/checkout@master | |
- name: Download build | |
uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: build | |
- name: Copy e2e envs | |
run: cp .env.dist .env | |
- name: Install e2e dependencies | |
run: npm install | |
- name: Run build and tests | |
run: npm run test:firefox | |
- name: Upload test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: e2e-firefox-artifacts | |
path: | | |
e2e/test-report/ | |
e2e/test-results/ | |
retention-days: 30 | |
e2e_safari: | |
needs: prepare_app | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.43.0-focal | |
defaults: | |
run: | |
working-directory: e2e | |
steps: | |
- uses: actions/checkout@master | |
- name: Download build | |
uses: actions/download-artifact@v3 | |
with: | |
name: build | |
path: build | |
- name: Copy e2e envs | |
run: cp .env.dist .env | |
- name: Install e2e dependencies | |
run: npm install | |
- name: Run build and tests | |
run: npm run test:safari | |
- name: Upload test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: e2e-safari-artifacts | |
path: | | |
e2e/test-report/ | |
e2e/test-results/ | |
retention-days: 30 | |
# END PLAYWRIGHT SPECIFIC CONFIG |