Rm playwright CI (#585) #1386
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: Build and Test | |
on: push | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
# Get the code | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Enable corepack | |
run: corepack enable # Enables use of pnpm | |
- name: Setup Node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: ">= 20.12.2" | |
# Install dependencies | |
- name: Install NPM Deps | |
run: pnpm install | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps | |
- name: Test | |
run: pnpm run test:ci | |
- name: Upload Playwright report | |
uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 | |
- name: Build | |
env: | |
EXTENSION_VERSION: "v1.2.3" | |
run: pnpm run build |