name: Update package lock on: push: paths: - package.json schedule: - cron: 13 8 * * 6 jobs: update_package_lock: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v7.0.1 - name: prepare node uses: actions/setup-node@v7.1.0 with: node-version: 26.13.1 - name: remove lock run: rm package-lock.json - name: install playwright run: npx playwright install --with-deps - name: test run: npm install-test env: BROWSER: chrome - name: create pull request uses: gr2m/create-or-update-pull-request-action@v1.10.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: path: package-lock.json title: Regenerate package lock body: bring lock in sync branch: package-lock labels: npm commit-message: "chore(deps): lock"