Skip to content

fix: some edits to force version update and release (#1513) #331

fix: some edits to force version update and release (#1513)

fix: some edits to force version update and release (#1513) #331

Workflow file for this run

name: CI Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
persist-credentials: false
- name: Setup Node.js and Cache
uses: ./.github/actions/nodejs
- name: Setup GIT username and NPM token
run: |
git config --global user.name "angular-ru-bot"
git config --global user.email "angular-ru@yandex.ru"
git config remote.origin.url https://x-access-token:${{ secrets.ANGULAR_RU_BOT_PAT }}@github.com/$GITHUB_REPOSITORY
npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
NPM_WHOAMI_OUTPUT=$(npm whoami)
echo "::debug::npm whoami: ${NPM_WHOAMI_OUTPUT}"
- name: Lerna version
if: always()
run: npx lerna version
- name: Build libraries
run: npx nx run-many --target=build --parallel
- name: Publish
if: always()
run: npx nx run-many --target=publish
concurrency:
group: release-${{ github.head_ref }}
cancel-in-progress: true