Skip to content

Update JS Bundle and Example Report #61

Update JS Bundle and Example Report

Update JS Bundle and Example Report #61

name: Update JS Bundle and Example Report
on:
schedule:
# Run on the first day of the month
- cron: '0 0 1 * *'
workflow_dispatch:
permissions:
contents: read
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: astral-sh/setup-uv@ae62891fec2bb8e7d6c99fc78c9fec3a63790f8d # v10.0.0
with:
activate-environment: true
- run: uv sync --frozen
- name: Update the JavaScript bundle
run: just build-js
- name: Generate the updated reports
run: just generate-report
- name: Run NPM unit tests for sanity checks
run: just test-js
- name: PR if files were updated
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
commit-message: Update JS Bundle and example reports
title: 'Updates JS Bundle and example reports'
body: This is an automated PR created to update the JS Bundle and the example reports.