Nightly Build: static #473
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |