Skip to content

Commit

Permalink
fix: split pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Oct 19, 2021
1 parent f9186de commit e862cfb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Node.js CI
on:
push:
branches:
- main
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm ci
- run: npm run docs
- name: Do git actions
run: |
git config user.email "[email protected]"
git config user.name "Docs Bot"
git add --force -- docs/README.md
git commit -m "docs: add generated docs"
git push
20 changes: 4 additions & 16 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -19,19 +23,3 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm ci
- run: npm run docs
- name: Do git actions
run: |
git config user.email "[email protected]"
git config user.name "Docs Bot"
git add --force -- docs/README.md
git commit -m "docs: add generated docs"
git push

0 comments on commit e862cfb

Please sign in to comment.