From 21c13185e714943d7370605e9b90ddf52ccdf608 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Sun, 25 Apr 2021 12:42:19 +0900 Subject: [PATCH] Add e2e-test --- .github/workflows/hello-world.yaml | 8 ++++++++ hello-world/action.yaml | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 hello-world/action.yaml diff --git a/.github/workflows/hello-world.yaml b/.github/workflows/hello-world.yaml index 8b77c32f..c82b87d4 100644 --- a/.github/workflows/hello-world.yaml +++ b/.github/workflows/hello-world.yaml @@ -40,3 +40,11 @@ jobs: - run: yarn package working-directory: hello-world - uses: ./.github/actions/update-generated-files + + e2e-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ./hello-world + with: + name: foo diff --git a/hello-world/action.yaml b/hello-world/action.yaml new file mode 100644 index 00000000..c4bf86cf --- /dev/null +++ b/hello-world/action.yaml @@ -0,0 +1,9 @@ +name: hello-world +description: say Hello World +inputs: + name: + description: example input + required: true +runs: + using: 'node12' + main: 'dist/index.js'