chore(deps-dev): bump the nx group across 1 directory with 2 updates #616
Workflow file for this run
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 to NPM | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
PUBLISH_PAT: ${{ secrets.PUBLISH_PAT }} | |
GH_TOKEN: ${{ secrets.PUBLISH_PAT }} | |
steps: | |
- name: Checkout ⬇️ | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.PUBLISH_PAT }} | |
- name: Setup Node 🎛️ | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
registry-url: "https://registry.npmjs.org" | |
- name: Git Identity 🪪 | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
- name: Yarn Install 📦️ | |
run: yarn install --immutable | |
- name: Setup NX 1/2 🎛️ | |
uses: nrwl/nx-set-shas@v4 | |
- name: Setup NX 2/2 🎛 | |
if: github.ref != 'refs/heads/main' | |
run: git branch --track main origin/main | |
- name: Build 🔨 | |
run: yarn build --exclude @mittwald/flow-documentation | |
- name: Version and publish 🚀 | |
run: | | |
yarn lerna publish \ | |
--force-publish \ | |
--conventional-commits --conventional-prerelease="*" \ | |
--create-release github \ | |
--message "chore(release): bump version to %v" \ | |
--yes --no-private \ | |
--tag-version-prefix "" |