From 6525d5ed20ba5294d7d571e9202586877ddf3735 Mon Sep 17 00:00:00 2001 From: Jan Ouwens Date: Tue, 10 Oct 2023 11:48:44 +0200 Subject: [PATCH] Removes explicit node download from Workflow because prettier-maven-plugin does that --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75f92d81a..be35b622b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,15 +61,9 @@ jobs: with: distribution: ${{ matrix.dist }} java-version: ${{ matrix.java }} - - name: 'Set up node' # Needed for formatting with prettier - if: ${{ !(matrix.experimental && github.event_name == 'pull_request') }} - uses: actions/setup-node@v3 - with: - node-version: 12 - name: 'Display JDK version' if: ${{ !(matrix.experimental && github.event_name == 'pull_request') }} run: java -version - name: 'Run Maven' if: ${{ !(matrix.experimental && github.event_name == 'pull_request') }} - # Don't clean, or whatever was cached in target/spotless-node-modules-prettier-format is lost - run: mvn verify ${{ matrix.flags }} + run: mvn clean verify ${{ matrix.flags }}