Skip to content

Commit

Permalink
SK-1811: add beta workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
“amith-skyflow” committed Dec 20, 2024
1 parent 620a49b commit f291233
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Public Beta Release

on:
push:
tags: '*.*.*-beta.*'
paths-ignore:
- "package.json"
- "package-lock.json"
- "*.md"


jobs:
build-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 14.17.6
registry-url: 'https://registry.npmjs.org'
- run: npm install

- name: Build
run: npm run build

- name: publish to npm
run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Public Release

on:
push:
tags: '*.*.*'
tags: '*.*.\d+'
paths-ignore:
- "package.json"
- "package-lock.json"
Expand Down

0 comments on commit f291233

Please sign in to comment.