mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Add integration test running
This commit is contained in:
parent
3ede58996d
commit
19e7914023
1 changed files with 4 additions and 3 deletions
7
.github/workflows/integration.yml
vendored
7
.github/workflows/integration.yml
vendored
|
|
@ -2,13 +2,14 @@ name: Integration
|
|||
|
||||
on:
|
||||
push: {branches: main}
|
||||
pull_request: {branches: main}
|
||||
|
||||
jobs:
|
||||
test-return:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: output-set
|
||||
uses: actions/github-script@main
|
||||
uses: ./
|
||||
with:
|
||||
script: return core.getInput('input-value')
|
||||
result-encoding: string
|
||||
|
|
@ -22,7 +23,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: output-set
|
||||
uses: actions/github-script@main
|
||||
uses: ./
|
||||
with:
|
||||
script: return require('./package.json').name
|
||||
result-encoding: string
|
||||
|
|
@ -36,7 +37,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: output-set
|
||||
uses: actions/github-script@main
|
||||
uses: ./
|
||||
with:
|
||||
script: return require('@actions/core/package.json').name
|
||||
result-encoding: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue