Skip to content

Commit

Permalink
Split build & release test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
e1himself committed Aug 26, 2020
1 parent 9cc0cb8 commit ee42c03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Build & test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'release/*'

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: |
npm install
npm run all
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
name: "Build & test"
name: "Test release"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'release/*'

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ee42c03

Please sign in to comment.