Skip to content

build(deps): bump the deps-major group across 1 directory with 20 updates #13862

build(deps): bump the deps-major group across 1 directory with 20 updates

build(deps): bump the deps-major group across 1 directory with 20 updates #13862

Workflow file for this run

name: Release to @pr-<number> tag on npm
on:
pull_request:
workflow_dispatch:
jobs:
release-pr:
name: "Release PR to npm"
runs-on: ubuntu-latest
# comment out if:false to enable release PR to npm
if: false
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: CI Setup
uses: ./.github/actions/ci-setup
- name: Build
run: pnpm build
- name: Publish to NPM
id: release
uses: ./.github/actions/pr-release
with:
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ github.event.pull_request.number }}
- uses: mshick/add-pr-comment@v2
with:
message: |
This PR is published in NPM with version **${{ steps.release.outputs.published_version }}**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}