Skip to content

⬆️ Bun upgrade all packages (#626) #451

⬆️ Bun upgrade all packages (#626)

⬆️ Bun upgrade all packages (#626) #451

Workflow file for this run

name: Version 🔖
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Version 🔖
if: github.repository == 'evmts/evmts-monorepo'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repo
with:
fetch-depth: 0
submodules: recursive
- name: "Setup"
uses: ./.github/actions/setup
- name: Check for pre.json file existence
id: check_files
uses: andstor/[email protected]
with:
files: ".changeset/pre.json"
- name: Set deployment token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Handle Release Pull Request or Publish to npm
id: changesets
if: steps.check_files.outputs.files_exists == 'false'
uses: changesets/action@v1
with:
title: "chore: Version packages 🔖"
commit: "chore: Version packages 🔖"
publish: bun release:publish
version: bun release:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}