mirror of
https://github.com/multipleof4/sune.git
synced 2026-03-16 18:51: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:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
call-npm-build:
|
||||
uses: multipleof4/.github/.github/workflows/npm-build.yml@master
|
||||
permissions:
|
||||
contents: write
|
||||
on: workflow_call
|
||||
jobs:
|
||||
npm-build-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
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