Skip to content

Commit

Permalink
fix: cancel jobs on new push
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 27, 2023
1 parent 3600cc2 commit 736d089
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
ci:
name: CI
Expand All @@ -20,7 +24,6 @@ jobs:
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Deps
run: npm i --prefer-offline --no-audit --progress=false
Expand Down

0 comments on commit 736d089

Please sign in to comment.