Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 3ede589

Browse filesBrowse files
committed
Add new integration tests
1 parent 01f87b6 commit 3ede589
Copy full SHA for 3ede589

File tree

1 file changed

+29
-1
lines changed
Filter options

1 file changed

+29
-1
lines changed

‎.github/workflows/integration.yml

Copy file name to clipboardExpand all lines: .github/workflows/integration.yml
+29-1Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push: {branches: main}
55

66
jobs:
7-
integration:
7+
test-return:
88
runs-on: ubuntu-latest
99
steps:
1010
- id: output-set
@@ -17,3 +17,31 @@ jobs:
1717
if [[ "${{steps.output-set.outputs.result}}" != "output" ]]; then
1818
exit 1
1919
fi
20+
21+
test-relative-require:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- id: output-set
25+
uses: actions/github-script@main
26+
with:
27+
script: return require('./package.json').name
28+
result-encoding: string
29+
input-value: output
30+
- run: |
31+
if [[ "${{steps.output-set.outputs.result}}" != "github-script" ]]; then
32+
exit 1
33+
fi
34+
35+
test-npm-require:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- id: output-set
39+
uses: actions/github-script@main
40+
with:
41+
script: return require('@actions/core/package.json').name
42+
result-encoding: string
43+
input-value: output
44+
- run: |
45+
if [[ "${{steps.output-set.outputs.result}}" != "@actions/core" ]]; then
46+
exit 1
47+
fi

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.