Cancel in progress npm master publishes if multuple in flight (#5306)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-05-02 11:36:05 -04:00
1 parent 6e63abfc3b
commit 5263738c04
1 file changed
+5 -2
+5 -2
View File
@@ -3,6 +3,9 @@ on:
push:
branches:
- master
concurrency:
group: publish-master-npm
cancel-in-progress: true
jobs:
publish:
name: Publish NPM Package `master`
@@ -25,11 +28,11 @@ jobs:
- name: Generate NPM package
run: |
make build-npm
make build-npm
- name: publish new release
run: |
make publish-npm
make publish-npm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_RELEASE_TAG: master