Skip to content

Commit

Permalink
add prettier ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jun 26, 2024
1 parent 7307760 commit 6cc455f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- uses: creyD/prettier_action@v4.3

- uses: EndBug/add-and-commit@v9
with:
message: "chore: lint"
default_author: github_actions
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

concurrency:
group: "pages"
group: pages
cancel-in-progress: false

jobs:
Expand All @@ -24,9 +24,9 @@ jobs:
cp -r social/dwn/schemas out/schemas
- uses: s0/git-publish-subdir-action@develop
env:
BRANCH: "gh-pages"
COMMIT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
COMMIT_NAME: "github-actions[bot]"
BRANCH: gh-pages
COMMIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
COMMIT_NAME: github-actions[bot]
FOLDER: out
GITHUB_TOKEN: ${{ github.token }}
REPO: self
Expand Down

0 comments on commit 6cc455f

Please sign in to comment.