mirror of
https://github.com/multipleof4/sune.git
synced 2026-01-13 16:17:55 +00:00
Update BUILD.yml
This commit is contained in:
25
.github/workflows/BUILD.yml
vendored
25
.github/workflows/BUILD.yml
vendored
@@ -1,23 +1,8 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
permissions: write-all
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
- run: |
|
||||
npm install
|
||||
npm run build
|
||||
- run: |
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
git add .
|
||||
git commit -m "This build was committed by a bot."
|
||||
git push
|
||||
call-npm-build:
|
||||
uses: multipleof4/.github/.github/workflows/npm-build.yml@master
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user