diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e029119d..f2ec0aec 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,9 +13,9 @@ jobs: strategy: matrix: # Supported versions are active lts and maintenance see https://nodejs.org/en/about/releases/ - node-version: [20.x, 22.x] + node-version: [22.x, 24.x] # Supported versions are latest stable and one minor version before stable (even if from a previous major) - factorio-version: [1.1.110, 2.0.47] + factorio-version: [1.1.110, 2.0.77, 2.1.8] steps: - uses: actions/checkout@v4 @@ -54,7 +54,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - run: pnpm i --no-frozen-lockfile - run: pnpm run lint @@ -65,7 +65,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - run: pnpm i --no-frozen-lockfile - run: pnpm run build-mod # Upload build to artifacts diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 005c0797..c2ebbb98 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 24.x registry-url: https://registry.npmjs.org - run: pnpm install --no-frozen-lockfile - run: pnpm -r --filter='./{plugins,packages}/*' publish --no-git-checks @@ -35,7 +35,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 24.x - run: pnpm install --no-frozen-lockfile - run: pnpm -r --filter='./{plugins,packages}/*' run build-mod --output-dir ../../dist - run: node ./publish.js factorio ./dist