Skip to content

Commit

Permalink
Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Feb 13, 2025
1 parent b432009 commit c7e9d76
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Lint & Build

on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: write

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Setup Git
run: |
git config user.name "fdsbot"
git config user.email "119665132+fdsbot@users.noreply.github.com"
- name: Build & Format
run: pnpm build && pnpm format
- name: Commit
run: |
git add --all || true
git commit -m "[skipci] build and format" || true
git push
1 change: 1 addition & 0 deletions assets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c7e9d76

Please sign in to comment.