Skip to content

Commit

Permalink
update publish gha to properly setup playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Aug 12, 2024
1 parent 50dc955 commit 149a7bc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,27 @@ jobs:
with:
ref: ${{ github.event.release.target_commitish }}

- uses: pnpm/action-setup@v4
- name: Enable corepack
run: corepack enable pnpm

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- run: pnpm install
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci .
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium

- name: Test
run: pnpm test
Expand Down

0 comments on commit 149a7bc

Please sign in to comment.