-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (31 loc) · 961 Bytes
/
nightly.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
name: '🌃 Nightly'
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 12 * * *'
workflow_dispatch:
jobs:
lockfile:
if: github.repository_owner == 'abereghici'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Clear lockfile
run: rm -rf package-lock.json node_modules
- name: Install dependencies
run: npm i
- name: Create Pull Request
id: createpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: '[CI] update lockfile'
title: '[CI] update lockfile'
body: >
This PR is auto-generated by a nightly GitHub action. It should
automatically be merged if tests pass.