[DEV-3676] Icon size fix #255
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |