Skip to content

Commit

Permalink
Install playwright dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Oct 15, 2024
1 parent b9f1957 commit bccb415
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn run playwright install --with-deps
- run: yarn build

- name: Set Chrome Version
run: |
CHROMEVER="$(chromedriver --version | cut -d' ' -f2)"
echo "Actions ChromeDriver is $CHROMEVER"
echo "CHROMEVER=${CHROMEVER}" >> $GITHUB_ENV
- name: Lint
run: yarn lint

- name: Unit Test
run: yarn test:unit

- name: Chrome Test
run: yarn test:browser --project=chrome

- name: Firefox Test
run: yarn test:browser --project=firefox

- uses: actions/upload-artifact@v3
with:
name: turbo-dist
path: dist/*
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'yarn'
- name: Install Playwright dependencies
run: yarn install --frozen-lockfile
- run: yarn run playwright install --with-deps
- run: yarn build

- name: Set Chrome Version
run: |
CHROMEVER="$(chromedriver --version | cut -d' ' -f2)"
echo "Actions ChromeDriver is $CHROMEVER"
echo "CHROMEVER=${CHROMEVER}" >> $GITHUB_ENV
- name: Lint
run: yarn lint

- name: Unit Test
run: yarn test:unit

- name: Chrome Test
run: yarn test:browser --project=chrome

- name: Firefox Test
run: yarn test:browser --project=firefox

- uses: actions/upload-artifact@v3
with:
name: turbo-dist
path: dist/*

0 comments on commit bccb415

Please sign in to comment.