gh-api-testing-trigger icon indicating copy to clipboard operation
gh-api-testing-trigger copied to clipboard

Bump dependency versions + Add `ncc` build

Open masonjlegere opened this issue 2 years ago • 0 comments

Description

Bumping dependency versions to address security vulnerabilities:

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Had issues with running the action using node_modules so updated the build to use ncc with the modified entry point of dist/index.js

Verification

Ran action against this branch to trigger a test:

jobs:
  run_api_test:
    runs-on: ubuntu-latest
    name: Execute RapidAPI API Tests
    steps:
    - name: Execute Tests
      id: tstExec
      uses: RapidAPI/gh-api-testing-trigger@bump-version
      with:
        test: 'test_c57e975c-c75b-427d-8c97-77103b7ff7fc'
        location: 'AWS-US-EAST-1'
    - name: Show Results
      run: echo "The test took ${{ steps.tstExec.outputs.time }}ms to run"; echo "The test result was ${{ steps.tstExec.outputs.computedStatus }}"; echo "View Report - ${{ steps.tstExec.outputs.reportUrl }}"

and executed successfully Screen Shot 2023-03-17 at 3 44 25 PM

masonjlegere avatar Mar 17 '23 22:03 masonjlegere