diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 7f55bf19..6f1a729b 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -15,25 +15,14 @@ jobs: prepare: name: Prepare job runs-on: ubuntu-22.04 + container: + image: node:18-bullseye outputs: individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }} steps: - name: Clone repo uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - - name: Install Node.js manually - run: | - apt-get update - apt-get install -y curl - curl -fsSL https://deb.nodesource.com/setup_18.x | bash - - apt-get install -y nodejs - - - name: Install dependencies - run: npm install - - - name: Run tests - run: npm test - - name: Validate Gradle Wrapper uses: https://github.com/gradle/wrapper-validation-action@a494d935f4b56874c4a5a87d19af7afcf3a163d0 # v2