1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Cancel in progress npm master publishes if multuple in flight

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-05-02 11:11:41 -04:00
parent 6e63abfc3b
commit 908dc78085

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