Skip to content

Commit

Permalink
Add ncc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyMax committed May 13, 2020
1 parent 277675f commit 1723202
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- 'master'
- 'releases/'
- 'releases/*'
paths-ignore:
- '**.md'
pull_request:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ncc.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1723202

Please sign in to comment.