Fix README & status badge (#5)

This commit is contained in:
Michal Dorner 2020-05-21 14:53:14 +02:00 committed by GitHub
parent 29d498d99d
commit 25327a213e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 3 deletions

14
.github/workflows/build.yml vendored Normal file
View File

@ -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

View File

@ -1,4 +1,4 @@
name: "build-test"
name: "Pull Request Verification"
on:
pull_request:
types:

View File

@ -1,5 +1,5 @@
<p align="center">
<a href="https://github.com/dorny/pr-changed-files-filter/actions"><img alt="typescript-action status" src="https://github.com/dorny/pr-changed-files-filter/workflows/build-test/badge.svg"></a>
<a href="https://github.com/dorny/pr-changed-files-filter/actions"><img alt="typescript-action status" src="https://github.com/dorny/pr-changed-files-filter/workflows/build/badge.svg"></a>
</p>
**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: