Skip to content

Bump gatsby from 5.14.0 to 5.14.1 in the gatsby group #609

Bump gatsby from 5.14.0 to 5.14.1 in the gatsby group

Bump gatsby from 5.14.0 to 5.14.1 in the gatsby group #609

Workflow file for this run

name: Playwright Tests
on:
workflow_dispatch:
pull_request:
jobs:
test:
name: Test Playwright
timeout-minutes: 60
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
#node-version: "lts/*"
node-version: 20
cache: "npm"
- name: Restore cache
uses: actions/cache@v4
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-${{ hashFiles('public') }}
restore-keys: |
${{ runner.os }}-gatsby-build-
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium
- name: Build with Gatsby
env:
GITHUB_TOKEN: ${{ secrets.BUILD_GITHUB_TOKEN }}
run: npm run build
- name: Run Playwright tests
run: npx playwright test