mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Merge branch 'master' of https://github.com/project-error/new-phone-who-dis
This commit is contained in:
commit
99fa476124
2 files changed
+15
-12
No files matched your search
+14
-11
@@ -1,6 +1,6 @@
|
||||
name: Test Suite
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
nui_preformatting_tests:
|
||||
@@ -13,11 +13,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.head_ref }}
|
||||
# This is important to fetch the changes to the previous commit
|
||||
fetch-depth: 0
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
||||
@@ -49,11 +44,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.head_ref }}
|
||||
# This is important to fetch the changes to the previous commit
|
||||
fetch-depth: 0
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
@@ -64,3 +54,16 @@ jobs:
|
||||
run: yarn test
|
||||
env:
|
||||
CI: true
|
||||
|
||||
lint:
|
||||
name: Lint Lua scripts
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: resources
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Lint
|
||||
uses: GoatG33k/fivem-lua-lint-action@v1
|
||||
@@ -41,4 +41,4 @@ end)
|
||||
|
||||
AddEventHandler('npwd:disableControlActions', function(bool)
|
||||
disableKeys = bool
|
||||
end)
|
||||
end)
|
||||
Reference in new issue
Block a user