Skip to content

Commit

Permalink
yml file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTMD committed Oct 4, 2023
1 parent 7f39a54 commit 06c3b74
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/npm-publish-beta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Publish NPM Package - Beta
name: Build and Publish NPM Package

on:
push:
Expand All @@ -15,16 +15,16 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: 16
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: npm install

- name: Build
run: npm ci && npm run build:prod && cd dist/reloadly-ui
- name: Publish to npm
run: npm publish --tag beta
run: npm ci && npm run build:prod

- name: Publish to npm (beta version)
run: npm run npm:publish:beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 comments on commit 06c3b74

Please sign in to comment.