Skip to content

[DEV-3647] Updated enum #253

[DEV-3647] Updated enum

[DEV-3647] Updated enum #253

Workflow file for this run

name: Publish packages
on:
push:
branches:
- develop
env:
NODE_VERSION: "16.x"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: "Setup npm"
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > .npmrc
- name: Install packages
run: |
npm install
- name: Build code
run: |
npx lerna run build
- name: "Version and publish"
run: |
git config user.name "DFX"
git config user.email "[email protected]"
npx lerna version --conventional-commits --conventional-prerelease --preid beta --yes
npx lerna publish from-git --yes --dist-tag beta