-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 1.19 KB
/
nightly-static-build.yaml
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
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
name: Nightly Static Build
jobs:
run-build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Run npm install
run: npm install -ws
- name: Run build:default
run: npm run build:default -w static
- name: Run build:releases
run: npm run build:releases -w static
- name: Run build:security
run: npm run build:security -w static
- name: Run build:support
run: npm run build:support -w static
- name: Create or Update Pull Request
uses: gr2m/create-or-update-pull-request-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "feat: update data"
body: "Updates the static data based on a nightly (or manual) run of the build step in GitHub Actions. Unless the data is invalid, this should be good to go."
branch: "nightly"
commit-message: "feat: update data"
assignees: bnb
auto-merge: squash