Skip to content

Update to Factorio API version 2.0.17 #46

Update to Factorio API version 2.0.17

Update to Factorio API version 2.0.17 #46

Workflow file for this run

name: Check code
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
jobs:
check-lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run lint
- run: npm run format:check
check-generated-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run clean
- run: npm run generate
- run: git diff --exit-code || (echo "Generated files are out of date. Please run 'npm run generate' and commit the changes." && exit 1)
- run: tsc --noEmit