0ff204b615
Fix localaction tests (missing checkout) Co-authored-by: Ryan (hackercat) <me@hackerc.at> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
30 lines
673 B
YAML
30 lines
673 B
YAML
name: basic
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./actions/action1
|
|
with:
|
|
args: echo 'build'
|
|
- uses: actions/hello-world-javascript-action@master
|
|
with:
|
|
who-to-greet: 'Mona the Octocat'
|
|
test1:
|
|
runs-on: ubuntu-latest
|
|
needs: [build]
|
|
steps:
|
|
- uses: docker://node:12-buster-slim
|
|
with:
|
|
args: echo ${GITHUB_REF} | grep nektos/act
|
|
- uses: ./actions/docker-url
|
|
with:
|
|
args: npm install -g qs
|
|
test2:
|
|
runs-on: ubuntu-latest
|
|
needs: [build]
|
|
steps:
|
|
- run: echo hello
|
|
- run: echo world
|