Skip to content

build(deps-dev): bump @nx/jest from 20.1.2 to 20.1.3 (#389) #474

build(deps-dev): bump @nx/jest from 20.1.2 to 20.1.3 (#389)

build(deps-dev): bump @nx/jest from 20.1.2 to 20.1.3 (#389) #474

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
- name: Install dependencies
run: npm ci
- name: Build using nx
run: npm run build
env:
NX_DISABLE_DB: true
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Send a Slack notification if a publish happens
# if: steps.changesets.outputs.published == 'true'
# # You can do something when a publish happens.
# run: my-slack-bot send-notification --message "A new version of ${GITHUB_REPOSITORY} was published!"