-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.06 KB
/
update_package_lock.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"