mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Update publish.yml
This commit is contained in:
36
.github/workflows/publish.yml
vendored
36
.github/workflows/publish.yml
vendored
@@ -90,22 +90,22 @@ jobs:
|
||||
with:
|
||||
cwd: './services'
|
||||
|
||||
- name: npm install
|
||||
working-directory: services
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
git status
|
||||
cd clients/ts;
|
||||
npm install
|
||||
npm run build
|
||||
npm publish --access public
|
||||
# - name: npm install
|
||||
# working-directory: services
|
||||
# if: github.ref == 'refs/heads/master'
|
||||
# run: |
|
||||
# git status
|
||||
# cd clients/ts;
|
||||
# npm install
|
||||
# npm run build
|
||||
# npm publish --access public
|
||||
|
||||
- name: npm install beta
|
||||
working-directory: services
|
||||
if: github.ref == 'refs/heads/beta'
|
||||
run: |
|
||||
git status
|
||||
cd clients/ts;
|
||||
npm install
|
||||
npm run build
|
||||
npm publish --access public --tag beta
|
||||
# - name: npm install beta
|
||||
# working-directory: services
|
||||
# if: github.ref == 'refs/heads/beta'
|
||||
# run: |
|
||||
# git status
|
||||
# cd clients/ts;
|
||||
# npm install
|
||||
# npm run build
|
||||
# npm publish --access public --tag beta
|
||||
|
||||
Reference in New Issue
Block a user