Skip to content

Commit 3ab4384

Browse files
authored
Create package-lock.yml
1 parent 5c1d7df commit 3ab4384

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/package-lock.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Re generate the package-lock file"
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
rebuild:
7+
name: reBuild
8+
runs-on: windows-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
14+
- name: Install Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: '16.6.1'
18+
19+
- name: remove old one
20+
run: rm package-lock.json
21+
22+
- name: build new one
23+
run: npm install
24+
env:
25+
CI: false
26+
27+
- name: cpr
28+
uses: peter-evans/create-pull-request@v4
29+
with:
30+
token: ${{ secrets.BOT }}
31+
commit-message: Update package-lock
32+
title: Update package-lock
33+
body: Update package-lock

0 commit comments

Comments
 (0)