Update publish.yml

This commit is contained in:
Asim Aslam
2021-10-27 13:49:43 +01:00
committed by GitHub
parent 6395836291
commit 7dc9e2f38e

View File

@@ -90,22 +90,22 @@ jobs:
with: with:
cwd: './services' cwd: './services'
- name: npm install # - name: npm install
working-directory: services # working-directory: services
if: github.ref == 'refs/heads/master' # if: github.ref == 'refs/heads/master'
run: | # run: |
git status # git status
cd clients/ts; # cd clients/ts;
npm install # npm install
npm run build # npm run build
npm publish --access public # npm publish --access public
- name: npm install beta # - name: npm install beta
working-directory: services # working-directory: services
if: github.ref == 'refs/heads/beta' # if: github.ref == 'refs/heads/beta'
run: | # run: |
git status # git status
cd clients/ts; # cd clients/ts;
npm install # npm install
npm run build # npm run build
npm publish --access public --tag beta # npm publish --access public --tag beta