-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (22 loc) · 804 Bytes
/
Copy pathbuild.yml
File metadata and controls
27 lines (22 loc) · 804 Bytes
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
name: Build and Document Userscripts
on:
workflow_dispatch:
jobs:
build:
name: Build and Document Userscripts
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 'lts/*'
cache: 'npm'
- name: Generate All Files
run: bash build.sh ${{ github.repository }}
- name: Commit Generated Files
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: 'build: auto-generate meta, dist, docs, megascript and readme'
file_pattern: 'userscripts/meta/*.meta.js userscripts/dist/*.user.js userscripts/docs/*.md userscripts/src/zzzzzzzz.user.js README.md package-lock.json'