Skip to content

Commit

Permalink
Merge pull request #87 from pkgjs/action-result
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas authored Mar 31, 2021
2 parents 3986b2f + 59c0a03 commit b7c5ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/wiby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,10 @@ jobs:
if [ ${WIBY_RESULT_CODE} -eq 64 ]; then
echo "`wiby` exited with code 64 - results are still pending"
exit
else
echo "::set-output name=wiby_conclusion::failure"
exit $WIBY_RESULT_CODE
fi
}
Expand Down
3 changes: 2 additions & 1 deletion test/internals/github-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const github = require('../../lib/github')
const CONFIG = require('../fixtures/config')

tap.test('package.json can be fetched with a valid url', async tap => {
tap.equal(JSON.stringify(await github.getPackageJson(CONFIG.DEP_ORG, CONFIG.DEP_REPO)), JSON.stringify({ ...CONFIG.PKGJSON, dependencies: { [CONFIG.PKG_NAME_INTEGRATION]: '*' } }))
const packageJson = await github.getPackageJson(CONFIG.DEP_ORG, CONFIG.DEP_REPO)
tap.includes(packageJson, { ...CONFIG.PKGJSON, dependencies: { [CONFIG.PKG_NAME_INTEGRATION]: '*' } })
}, { skip: !process.env.GITHUB_TOKEN })

tap.test('Shas returned from getShas', async tap => {
Expand Down

0 comments on commit b7c5ef3

Please sign in to comment.