2020-02-11 11:10:35 -06:00
|
|
|
name: basic
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-08-03 12:39:56 -05:00
|
|
|
- uses: actions/checkout@v2
|
2020-02-11 11:10:35 -06:00
|
|
|
- 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:
|
2021-06-10 18:12:05 -05:00
|
|
|
- uses: docker://node:12-buster-slim
|
2020-02-11 11:10:35 -06:00
|
|
|
with:
|
|
|
|
args: echo ${GITHUB_REF} | grep nektos/act
|
|
|
|
- uses: ./actions/docker-url
|
|
|
|
with:
|
2020-02-12 01:38:30 -06:00
|
|
|
args: npm install -g qs
|
2020-02-11 11:10:35 -06:00
|
|
|
test2:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [build]
|
|
|
|
steps:
|
|
|
|
- run: echo hello
|
|
|
|
- run: echo world
|