GKCS-4175 support bitbucket (#10) #39
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: Playwright Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn | |
- name: Install Playwright Browsers | |
run: yarn playwright install --with-deps chromium | |
- name: Build Extension files | |
run: yarn build:chromium | |
- name: Run Playwright tests | |
run: yarn playwright test |