From 42654604928396486c41186e985b0ccd0b2b17da Mon Sep 17 00:00:00 2001 From: skyflow-shravan Date: Fri, 20 Dec 2024 09:47:04 +0530 Subject: [PATCH] SK-1811 workflow file for beta release --- .github/workflows/beta-release.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/beta-release.yml diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml new file mode 100644 index 0000000..3073392 --- /dev/null +++ b/.github/workflows/beta-release.yml @@ -0,0 +1,31 @@ +name: Public 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 }}