forked from StarLederer/vite-electron-builder-svelte
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 1.02 KB
/
update-electron-vendors.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
43
44
name: Update Electon vendors versions
on:
push:
branches:
- main
paths:
- 'package-lock.json'
concurrency:
group: update-electron-vendors-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: 'bash'
jobs:
node-chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16 # Need for npm >=7.7
cache: 'npm'
# TODO: Install not all dependencies, but only those required for this workflow
- name: Install dependencies
run: npm ci
- run: node ./scripts/update-electron-vendors.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
delete-branch: true
commit-message: Update electron vendors
branch: autoupdates/electron-vendors
title: Update electron vendors
body: Updated versions of electron vendors in `.electron-vendors.cache.json` and `.browserslistrc` files