Skip to content

Commit

Permalink
Workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
iSeremet-Reloadly committed Nov 23, 2023
1 parent c7a8183 commit c032401
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/npm-publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- develop

jobs:
build-and-publish:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -28,3 +28,19 @@ jobs:
run: npm run npm:publish:beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
deploy-beta:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
steps:
- name: Publish to npm (beta version)
run: npm run npm:publish:beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
deploy-release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Publish to npm (release version)
run: npm run npm:publish:latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reloadly-ui",
"version": "0.0.1-beta.45",
"version": "0.0.1-beta.46",
"description": "Angular UI library",
"repository": {
"type": "git",
Expand Down

0 comments on commit c032401

Please sign in to comment.