Browse Source

feat: add cancel action

build/update-latest-deps
Thomas Osmonson 4 years ago
parent
commit
273fc7b9d2
  1. 4
      .github/workflows/deploy-prs.yml
  2. 4
      .github/workflows/main.yml

4
.github/workflows/deploy-prs.yml

@ -5,6 +5,10 @@ jobs:
vercel-deployment: vercel-deployment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: aulneau/vercel-action@v19.0.2+3 - uses: aulneau/vercel-action@v19.0.2+3
id: vercel_deployment_preview id: vercel_deployment_preview

4
.github/workflows/main.yml

@ -5,6 +5,10 @@ jobs:
code_quality: code_quality:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set Node Version - name: Set Node Version

Loading…
Cancel
Save