forked from bazel-contrib/rules_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1021 Bytes
/
update-yarn-versions.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
name: Update yarn versions
on:
schedule:
# run at 01:30 UTC daily
- cron: '30 1 * * *'
jobs:
updateNodejsVersions:
runs-on: ubuntu-latest
# Skip this on forks
if: github.repository == 'bazelbuild/rules_nodejs'
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Run yarn update-yarn-versions
run: yarn run update-yarn-versions
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PAT }}
commit-message: Update yarn versions
title: Update yarn versions
body: |
- Updated yarn versions using `yarn run update-yarn-versions`
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-yarn-versions