feat: Added 'multiple-files' test workflow

releases/v3
Andrés Mata Suárez 2020-07-31 16:06:42 -03:00
parent 3ba65fd7f7
commit bb40f54b50
2 changed files with 20 additions and 0 deletions

View File

@ -96,3 +96,20 @@ jobs:
github-token: ${{ secrets.github_token }}
version-file: 'test-file.toml'
version-path: 'package.version'
multiple-files:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: "./"
- name: Generate changelog
id: changelog
uses: ./
env:
ENV: 'dont-use-git'
with:
github-token: ${{ secrets.github_token }}
version-file: 'package.json, package-lock.json'

View File

@ -172,6 +172,9 @@ $ act -j test-toml -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s gith
# To run pre-commit test
$ act -j test-pre-commit -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s github_token=fake-token
# To run / multiple files test
$ act -j multiple-files -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 -s github_token=fake-token
```
## [License](./LICENSE)