From f196fe99ffd78a932981e2873b827d78bac64a38 Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Mon, 2 Dec 2024 15:41:22 -0700 Subject: [PATCH] Fix build --- .github/workflows/ci.yml | 3 --- .github/workflows/release.yml | 1 + .github/workflows/size-limit.yml | 3 --- docs/package.json | 4 ++-- turbo.json | 1 - 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 844a64286..84204f21f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,6 @@ on: - main pull_request: -env: - GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }} - concurrency: group: ci-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0f295e57..4050f35ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,4 +31,5 @@ jobs: commit: "[ci] release" title: "[ci] release" env: + GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 4090b1886..6d964e708 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -5,9 +5,6 @@ on: branches: [main] types: [opened, synchronize] -env: - GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }} - jobs: size-limit: permissions: diff --git a/docs/package.json b/docs/package.json index 25d33c552..7e3cf85db 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "scripts": { - "build": "pnpm run update-contributors && vitepress build && cp _redirects .vitepress/dist", - "dev": "pnpm run update-contributors && vitepress dev", + "build-docs": "pnpm run update-contributors && vitepress build && cp _redirects .vitepress/dist", + "dev": "vitepress dev", "update-contributors": "node scripts/update-contributors.js" }, "devDependencies": { diff --git a/turbo.json b/turbo.json index 18dd4f4f0..86c9a3ad7 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,5 @@ { "$schema": "https://turbo.build/schema.json", - "globalEnv": ["GITHUB_TOKEN"], "tasks": { "build": { "dependsOn": ["^build"]