mirror of
https://github.com/multipleof4/.github.git
synced 2026-01-13 15:27:54 +00:00
Update npm-build.yml
This commit is contained in:
24
.github/workflows/npm-build.yml
vendored
24
.github/workflows/npm-build.yml
vendored
@@ -1,23 +1,13 @@
|
|||||||
on:
|
on: workflow_call
|
||||||
workflow_dispatch:
|
jobs:
|
||||||
push:
|
build-push:
|
||||||
permissions: write-all
|
|
||||||
jobs:
|
|
||||||
build-push:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: 24
|
||||||
- run: |
|
- run: npm install && npm run build
|
||||||
npm install
|
- 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
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user