Skip to content

Update triple-slash directive docs for preserve=true (#3265) #130

Update triple-slash directive docs for preserve=true (#3265)

Update triple-slash directive docs for preserve=true (#3265) #130

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
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@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
with:
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_BOT_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}