Configured two workflows, one used for the PRs and a second one called `Master` for the final merge commits. The `Master` workflow status badge is also used in the README file.
@@ -0,0 +1,29 @@
+name: Master
+
+on:
+ push:
+ branches:
+ - master
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node-version: [12.x]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: npm install, build, and test
+ run: |
+ npm install
+ npm run build --if-present
+ npm test
+ env:
+ CI: true
@@ -0,0 +1,26 @@
+name: PR_Testing
+on: [pull_request]
@@ -2,7 +2,7 @@
Web GUI for [coriolis](https://github.com/cloudbase/coriolis)
-[](https://www.gnu.org/licenses/agpl-3.0)
+ [](https://www.gnu.org/licenses/agpl-3.0)
### Install instructions
- [node](https://nodejs.org/en/download/package-manager/) >=6.x and [yarn](https://yarnpkg.com/lang/en/docs/install/) are required