diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2c847f0d..78f6ffe7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,7 +23,6 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - # Build output to publish to the `gh-pages` branch: publish_dir: ./website/out user_name: buapebot user_email: 119761697+buapebot@users.noreply.github.com diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index d7b52245..32ebc908 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -14,3 +14,15 @@ jobs: with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true + + dep-changeset: + runs-on: ubuntu-latest + if: ${{ github.actor == 'renovate[bot]' }} + steps: + - uses: mscharley/dependency-changesets-action@v1.0.5 + with: + token: ${{ secrets.BUAPEBOT_TOKEN }} + changeset-folder: ".changeset" + use-conventional-commits: true + author-name: "BuapeBot" + author-email: "119761697+buapebot@users.noreply.github.com" diff --git a/.github/workflows/web-ci.yml b/.github/workflows/web-ci.yml new file mode 100644 index 00000000..9f4f7ce8 --- /dev/null +++ b/.github/workflows/web-ci.yml @@ -0,0 +1,23 @@ +name: Web CI + +permissions: write-all + +on: + pull_request: + types: [opened, synchronize] + paths: + - "website/**" + +jobs: + test-docs: + name: Test Docs + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Setup + uses: ./.github/actions/setup + + - name: Test build website + run: pnpm run web:build diff --git a/.vscode/settings.json b/.vscode/settings.json index 783e0465..aa0f2463 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "biomejs", "bitfield", "Buape", + "BUAPEBOT", "Cloudo", "Datetime", "frontmatter",