mirror of
https://github.com/multipleof4/sune.git
synced 2026-03-17 03:01:03 +00:00
Feat: Inline build script directly in repo
This commit is contained in:
21
.github/workflows/BUILD.yml
vendored
21
.github/workflows/BUILD.yml
vendored
@@ -1,8 +1,13 @@
|
|||||||
on:
|
on: workflow_call
|
||||||
push:
|
jobs:
|
||||||
workflow_dispatch:
|
npm-build-push:
|
||||||
jobs:
|
runs-on: ubuntu-latest
|
||||||
call-npm-build:
|
steps:
|
||||||
uses: multipleof4/.github/.github/workflows/npm-build.yml@master
|
- uses: actions/checkout@v5
|
||||||
permissions:
|
with:
|
||||||
contents: write
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
- run: npm install && npm run build
|
||||||
|
- run: git config user.name github-actions[bot] && git config user.email 41898282+github-actions[bot]@users.noreply.github.com && git add . && git commit -m "This build was committed by a bot." && git push
|
||||||
|
|||||||
Reference in New Issue
Block a user