Skip to content

Commit

Permalink
Merge pull request #97 from StarManTheGamer/main
Browse files Browse the repository at this point in the history
update prettier, run prettier on pull request
  • Loading branch information
Alyxsqrd authored Jun 5, 2024
2 parents 4b4ae6c + dda3e4c commit 7ae0c2a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 33 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Prettier Format and Commit

on:
push:
pull_request:
branches:
- main
- 'refs/heads/*'
Expand All @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -22,9 +24,6 @@ jobs:
- name: Install dependencies
run: npm install

- name: Pull latest changes
run: git pull

- name: Run Prettier
run: npx prettier --write .

Expand All @@ -46,6 +45,6 @@ jobs:

- name: Push changes
if: env.changes_committed == 'true'
run: git push
run: git push origin HEAD:${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions docs/objects/effects/ImageSky.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ icon: polytoria/ImageSky

The image ID of the back side of the skybox.








### BottomId:int { property }

The image ID of the bottom side of the skybox.
Expand Down
12 changes: 7 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"format": "prettier --write ."
},
"devDependencies": {
"prettier": "^3.2.5",
"prettier-plugin-jinja-template": "^1.3.3"
"prettier": "^3.3.0",
"prettier-plugin-jinja-template": "^1.4.0"
}
}
37 changes: 16 additions & 21 deletions pnpm-lock.yaml

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

0 comments on commit 7ae0c2a

Please sign in to comment.