Skip to content

Commit

Permalink
ci: new actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow committed Sep 10, 2024
1 parent 07b0817 commit 1ea7adf
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 12 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
23 changes: 23 additions & 0 deletions .github/workflows/web-ci.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"biomejs",
"bitfield",
"Buape",
"BUAPEBOT",
"Cloudo",
"Datetime",
"frontmatter",
Expand Down

0 comments on commit 1ea7adf

Please sign in to comment.