Skip to content

Commit 3e086cc

Browse files
committed
Update concurrency settings in ci.yml
1 parent e6e06c3 commit 3e086cc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3-
41
name: Node.js CI
5-
62
on:
73
push:
84
branches: [ "main" ]
95
pull_request:
106
branches: [ "main" ]
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
1110

1211
jobs:
1312
build:

0 commit comments

Comments
 (0)