Update package lock #1390
This file contains 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 | |
strategy: | |
matrix: | |
node-version: | |
- 22.12.0 | |
browser: | |
- chrome | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: prepare node | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: remove lock | |
run: rm package-lock.json | |
- name: install playwright | |
run: npx playwright install | |
- name: test | |
run: npm install-test | |
env: | |
BROWSER: ${{ matrix.browser }} | |
- name: create pull request | |
uses: gr2m/[email protected] | |
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" |