Skip to content

Add necessary use case of @link (#2987) #119

Add necessary use case of @link (#2987)

Add necessary use case of @link (#2987) #119

name: Publish packages
on:
push:
branches: [v2]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
filter: blob:none
token: ${{ secrets.GITHUB_BOT_TOKEN }}
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org/"
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- name: Prepare website v2
run: |
pnpm install
pnpm bootstrap
pnpm build
- uses: changesets/action@3de3850952bec538fde60aac71731376e57b9b57 # v1.4.8
with:
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}