Skip to content

协议弹窗

协议弹窗 #6

Workflow file for this run

name: Format
on:
push:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Format
run: pnpm run format
- name: Add, Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style: format code with prettier"
commit_user_name: Isla
commit_user_email: bot@nn.ci
commit_author: "Isla <bot@nn.ci>"