diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30c27159e..4e81dae27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,4 +49,4 @@ jobs: - name: Run `openapi` command uses: ./rdme-repo/ with: - rdme: swagger oas-examples-repo/3.1/json/petstore.json --key=${{ secrets.RDME_TEST_PROJECT_API_KEY }} --id=${{ secrets.RDME_TEST_PROJECT_API_SETTING }} + rdme: openapi oas-examples-repo/3.1/json/petstore.json --key=${{ secrets.RDME_TEST_PROJECT_API_KEY }} --id=${{ secrets.RDME_TEST_PROJECT_API_SETTING }} diff --git a/.github/workflows/gh-action-simple.yml b/.github/workflows/gh-action-simple.yml index 44aad6abd..714040d7c 100644 --- a/.github/workflows/gh-action-simple.yml +++ b/.github/workflows/gh-action-simple.yml @@ -17,4 +17,4 @@ jobs: - name: Run `validate` command uses: ./ # in actual production usage, this value should be 'readmeio/rdme@XX' with: - rdme: validate __tests__/__fixtures__/invalid-oas.json + rdme: validate __tests__/__fixtures__/ref-oas/petstore.json diff --git a/bin/rdme b/bin/rdme index 4a08e94a3..79a108762 100755 --- a/bin/rdme +++ b/bin/rdme @@ -36,6 +36,5 @@ require('../src')(process.argv.slice(2)) // eslint-disable-next-line no-console console.error(chalk.red(`\n${message}\n`)); - return process.exit(1); });