mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-12 17:45:49 +08:00
This also adds CC-BY-4.0 to the list of accepted licenses. DISABLE_THIRD_PARTY_CHECK=update dependencies Bug: chromium:1083142 Change-Id: I8612de2fba52dae32eeb71af79d5aacfde52142b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2220097 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org>
36 lines
831 B
YAML
36 lines
831 B
YAML
name: Nightly Sync of content
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 3 * * *' # run daily at 3am
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: "12.x"
|
|
|
|
- name: Install
|
|
run: npm ci
|
|
|
|
- name: Collect latest releases
|
|
run: npm run build
|
|
|
|
- name: Commit changes
|
|
uses: EndBug/add-and-commit@v4
|
|
with:
|
|
author_name: GitHub Action
|
|
author_email: action@github.com
|
|
message: "feat: Nightly Sync"
|
|
|
|
- name: Push changes
|
|
# Only run this on the main nodejs repo and not forks
|
|
if: github.repository == 'chicoxyzzy/node-releases'
|
|
uses: ad-m/github-push-action@v0.5.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|