Skip to content

Merge pull request #1872 from NishkalankBezawada/Issue-1862---Hide-fi… #559

Merge pull request #1872 from NishkalankBezawada/Issue-1862---Hide-fi…

Merge pull request #1872 from NishkalankBezawada/Issue-1862---Hide-fi… #559

Workflow file for this run

name: BETA Release
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install npm dependencies
run: npm i
- name: Update the package version
if: github.ref == 'refs/heads/dev'
run: node scripts/update-package-version.js $GITHUB_RUN_ID
- name: Update version number for telemetry
run: npm run versionUpdater
- name: Create/update the missing localization keys
run: npm run localization
- name: Run build
run: npm run build
- name: Publish beta release
run: npm publish --tag next --access public
if: github.ref == 'refs/heads/dev'
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}