Skip to content

Fix Vercel alias creation when running from Actions (#2738) #1998

Fix Vercel alias creation when running from Actions (#2738)

Fix Vercel alias creation when running from Actions (#2738) #1998

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
NODE_VERSION: '22.x'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Install PNPM
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: false
- name: Setup Node.js
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Create Release Pull Request
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
with:
version: pnpm version-packages
publish: pnpm release-packages
env:
# Token setup in hashibot-hds' account
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
# Token setup in hashibot-hds' account
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}