Update package lock #1980
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v6.0.1 | |
| - name: prepare node | |
| uses: actions/setup-node@v6.1.0 | |
| with: | |
| node-version: 24.12.0 | |
| - 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" |