feat: add finish step
This commit is contained in:
parent
63f9cd6207
commit
11ed6d239c
1 changed files with 10 additions and 2 deletions
|
@ -70,8 +70,8 @@ jobs:
|
|||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
publish-production:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-and-test
|
||||
runs-on: docker
|
||||
needs: prepare-package
|
||||
container:
|
||||
image: node:20-alpine
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
@ -92,3 +92,11 @@ jobs:
|
|||
npm publish
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
finish-deploy:
|
||||
runs-on: docker
|
||||
needs: prepare-package
|
||||
steps:
|
||||
- name: Publish to NPM (production)
|
||||
run: |
|
||||
echo "OK Done".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue