diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..e4f55976 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,14 @@ +name: "Build" +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: | + npm install + npm run all diff --git a/.github/workflows/test.yml b/.github/workflows/pull-request-verification.yml similarity index 94% rename from .github/workflows/test.yml rename to .github/workflows/pull-request-verification.yml index 04673176..cc685d13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/pull-request-verification.yml @@ -1,4 +1,4 @@ -name: "build-test" +name: "Pull Request Verification" on: pull_request: types: diff --git a/README.md b/README.md index 0883c5ba..e7629dec 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
**CAUTION**: This action can be only used in a workflow triggered by `pull_request` event. @@ -36,7 +36,6 @@ Output variables can be later used in the `if` clause to conditionally run speci ### Sample workflow ```yaml -... name: Build verification on: