Update .github/workflows/build_pull_request.yml #1031

Merged
AlmightyHak merged 1 commit from almightyhak-patch-1 into main 2025-06-04 03:09:29 -05:00
Showing only changes of commit a0e1b6e35c - Show all commits

View file

@ -8,26 +8,22 @@ on:
- '!.github/**'
- '.github/workflows/build_pull_request.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
env:
CI_CHUNK_SIZE: 65
jobs:
prepare:
name: Prepare job
runs-on: ubuntu-22.04
runs-on: docker
outputs:
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
steps:
- name: Checkout code manually
run: git clone https://kohiden.xyz/AlmightyHak/extensions-source.git .
- name: Run in Node.js container manually
run: |
docker run --rm \
-v "$(pwd)":/app \
-w /app \
node:18-bullseye \
sh -c "npm install && npm test"
- name: Clone repo
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Validate Gradle Wrapper
uses: https://github.com/gradle/wrapper-validation-action@a494d935f4b56874c4a5a87d19af7afcf3a163d0 # v2
@ -56,7 +52,7 @@ jobs:
build_individual:
name: Build individual modules
needs: prepare
runs-on: ubuntu-22.04
runs-on: docker
strategy:
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
steps: