Skip to content

Bump fast-xml-parser from 4.2.5 to 4.3.0 #330

Bump fast-xml-parser from 4.2.5 to 4.3.0

Bump fast-xml-parser from 4.2.5 to 4.3.0 #330

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: 'Dependency Review'
if: github.event_name == 'pull_request' && github.event.action != 'closed'
uses: actions/dependency-review-action@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
- name: Install dependencies
run: npm ci
- name: 'Setup Hugo on Runner'
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.HUGO_VERSION }}
extended: true
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
with:
workload_identity_provider: '${{ secrets.GH_GOOGLE_FED_PROVIDER }}'
service_account: '${{ secrets.GA_API_SERVICE_ACC_EMAIL}}'
- run: |
npm install @google-analytics/data
- uses: actions/github-script@v6
env:
GA_TRACKING_ID: ${{ secrets.GA_TRACKING_ID }}
with:
script: |
const script = require('.github/workflows/scripts/google-analytics.js')
await script({github, context, core})
- name: Install Playwright
run: npx playwright install --with-deps
- name: Setup generator dependencies
working-directory: tests/generator
run: npm install
- name: Run Hugo Server
run: hugo serve &
- name: Generate test data
run: |
node tests/generator/data-generator.js blog
node tests/generator/data-generator.js episode
node tests/generator/data-generator.js person
node tests/generator/data-generator.js talk
- name: Run Playwright tests
run: PLAYWRIGHT_JUNIT_OUTPUT_NAME=results.xml npx playwright test
- name: Test Summary
if: always()
uses: test-summary/action@v2
with:
paths: |
tests/results.xml