Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #624

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Dev #624

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/formatt-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,23 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install stylua and format files
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --check .
version: v0.18.0
args: -- .
- name: Format files with Prettier
run: |
npx prettier --write '**/*.{ts,js,css,html}'
- name: Update repo before push
run: |
git pull
- name: Commit changes and push current branch
uses: stefanzweifel/git-auto-commit-action@v4
10 changes: 5 additions & 5 deletions server-data/resources/[maps]/CayoTwoIslands/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
fx_version 'cerulean'
game 'gta5'
fx_version("cerulean")
game("gta5")

name 'CayoTwoIslands'
author 'TayMcKenzieNZ'
description 'Spawns Cayo Perico alongside Los Santos'
name ("CayoTwoIslands")
author ("TayMcKenzieNZ")
description("Spawns Cayo Perico alongside Los Santos")

-- Server build must be on the LATEST recommended server build. You should be checking for and updating this at least once a month
-- Server MUST be on gamebuild 2189 or higher for this resource to run sucessfully
Expand Down
Loading