Skip to content

Commit

Permalink
Removes explicit node download from Workflow because prettier-maven-p…
Browse files Browse the repository at this point in the history
…lugin does that
  • Loading branch information
jqno committed Oct 10, 2023
1 parent 6d1d93b commit 6525d5e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6525d5e

Please sign in to comment.