Write the factorio typedefs where the config looks for them

`fmtk luals-addon <outdir>` treats its argument as the parent and always
appends `factorio`, so the bundle landed in `$RUNNER_TEMP/factorio/factorio`
while the config pointed at `$RUNNER_TEMP/factorio/library`. The factorio
types were never loaded, which is why ci reported 642 undefined-global
and 1204 type-not-found against a tree that is clean locally.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassie
2026-08-10 09:34:23 +00:00
co-authored by Claude Opus 5
parent 5890155331
commit fd38816ff6
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- name: Generate Factorio typedefs - name: Generate Factorio typedefs
run: | run: |
pnpm install factoriomod-debug pnpm install factoriomod-debug
pnpm exec fmtk luals-addon "$RUNNER_TEMP/factorio" pnpm exec fmtk luals-addon "$RUNNER_TEMP"
- name: Install emmylua_check - name: Install emmylua_check
run: | run: |
curl -fsSL "https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/download/${EMMYLUA_CHECK_VERSION}/emmylua_check-linux-x64.tar.gz" \ curl -fsSL "https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/download/${EMMYLUA_CHECK_VERSION}/emmylua_check-linux-x64.tar.gz" \