message: chore: update workfloew
diff: @@ -2,10 +2,10 @@ name: Tugboat E2E Tests
  on: deployment_status
  jobs:
  - run:
  - # When the deployment event is success
  + run-tests:
  + # Only run after a successful Tugboat deployment.
  if: github.event.deployment_status.state == 'success'
  - name: Run test suite against tugboat
  + name: Run tests against Tugboat
  runs-on: ubuntu-latest
  steps:
  # Set an initial commit status message to indicate that the tests are
  @@ -25,10 +25,18 @@ jobs:
  description: 'Running tests',
  target_url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
  });
  +
  - uses: actions/checkout@v1
  - uses: actions/setup-node@v1
  with:
  node-version: '14'
  +
  + # This is required because the environment_url param that Tugboat uses
  + # to tell us where the preview is located isn't supported unless you
  + # specify the custom Accept header when getting the deployment_status,
  + # and GitHub actions doesn't do that by default. So instead we have to
  + # load the status object manually and get the data we need.
  + # https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements/
  - name: get deployment status
  id: get-status-env
  uses: actions/github-script@v3
  @@ -54,4 +62,3 @@ jobs:
  # we visit it once here to prime it. Otherwise the very first test
  # will often timeout.
  curl ${{ steps.get-status-env.outputs.result }}
  -
  