mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
Revert "Add Prettier formatting (#1360)"
This reverts commit 341b49cd68.
This commit is contained in:
34
.github/workflows/format.yml
vendored
34
.github/workflows/format.yml
vendored
@@ -1,34 +0,0 @@
|
||||
# Adapted from https://github.com/withastro/starlight/blob/main/.github/workflows/format.yml
|
||||
|
||||
name: Format
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- next
|
||||
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code using Git
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
# Needs access to push to main
|
||||
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
|
||||
- uses: pnpm/action-setup@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: 'pnpm'
|
||||
- run: pnpm i
|
||||
- name: Format with Prettier
|
||||
run: pnpm format
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: '[ci] format'
|
||||
branch: ${{ github.head_ref }}
|
||||
commit_user_name: fredkbot
|
||||
commit_user_email: fred+astrobot@astro.build
|
||||
Reference in New Issue
Block a user