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 a1ba366
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Lint & Build

on:
push:
workflow_dispatch:

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

permissions:
contents: write

jobs:
translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- 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 translations
run: |
git add -a || true
git commit -m "[skipci] build and format" || true
git push

0 comments on commit a1ba366

Please sign in to comment.