2020-06-13 12:47:09 +02:00
|
|
|
name: ci
|
2020-06-13 12:48:35 +02:00
|
|
|
on:
|
2020-06-13 12:47:09 +02:00
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build: # make sure build/ci work properly
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: |
|
|
|
|
npm install
|
|
|
|
npm run all
|
|
|
|
test: # make sure the action works on a clean machine without building
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-06-13 13:09:06 +02:00
|
|
|
- run: |
|
|
|
|
npm install
|
|
|
|
npm run all
|
2020-06-13 12:47:09 +02:00
|
|
|
- uses: ./
|
|
|
|
with:
|
2020-06-13 13:10:37 +02:00
|
|
|
wrapper-directory: __tests__/data/basic
|
2020-06-13 12:47:09 +02:00
|
|
|
build-root-directory: __tests__/data/basic
|
|
|
|
arguments: help
|