Stephanie Hobbs 20d5541dab
Add working-directory support (#18)
Add working-directory support

Fixes #15
2020-05-21 14:36:02 +03:00

28 lines
643 B
YAML

name: "build-and-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: |
npm install
npm run prepare-deps
npm run all
git diff --exit-code
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ./
with:
version: v1.26
args: --issues-exit-code=0 ./...
working-directory: sample