Add ncc workflow
This commit is contained in:
parent
277675f877
commit
1723202839
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
- 'releases/'
|
- 'releases/*'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
pull_request:
|
pull_request:
|
|
@ -0,0 +1,33 @@
|
||||||
|
name: ncc
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
- 'releases/*'
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
fix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
-
|
||||||
|
name: Build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run format
|
||||||
|
npm run build
|
||||||
|
-
|
||||||
|
name: Raise PR
|
||||||
|
uses: peter-evans/create-pull-request@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
commit-message: "fix: update generated content"
|
||||||
|
title: "fix: update generated content"
|
||||||
|
branch: update-generated-content
|
||||||
|
branch-suffix: timestamp
|
||||||
|
labels: automerge
|
Loading…
Reference in New Issue