32 lines
703 B
YAML
32 lines
703 B
YAML
|
name: Nightly
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
- cron: '0 19 * * *'
|
||
|
|
||
|
jobs:
|
||
|
check-develop-beta-changes:
|
||
|
name: Check if develop is ahead of beta release
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
concurrency:
|
||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||
|
cancel-in-progress: true
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version:
|
||
|
16
|
||
|
- run: npm ci
|
||
|
working-directory: ./tools/beta-release/
|
||
|
|
||
|
- uses: actions/github-script@v6
|
||
|
with:
|
||
|
script: |
|
||
|
const { script } = await import('${{ github.workspace }}/tools/beta-release/app.js')
|
||
|
await script({github, context, core})
|
||
|
|