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 (#5306)
This commit is contained in:
parent
6e63abfc3b
commit
5263738c04
7
.github/workflows/publish-master-npm.yml
vendored
7
.github/workflows/publish-master-npm.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user