feat(game/scripts): copyOnStart for watch script #3657
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Suite | |
on: [push, pull_request] | |
jobs: | |
nui__and_game_scripts: | |
name: Tests for NUI and Game scripts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.2 | |
with: | |
version: latest | |
- name: Install dependencis | |
run: pnpm i --frozen-lockfile | |
- name: Check build status | |
run: pnpm build | |
env: | |
CI: true | |
lint: | |
name: Lint Lua scripts | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/game | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Lint | |
uses: GoatG33k/fivem-lua-lint-action@v1 |