diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 1aa1bd3..f156c32 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -7,9 +7,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest - services: redis: image: redis @@ -22,6 +20,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: '0' + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: @@ -41,17 +40,17 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 20 - - name: Sematic Release + - name: Semantic Release run: | npm install -g @conveyal/maven-semantic-release semantic-release semantic-release --prepare @conveyal/maven-semantic-release --publish @semantic-release/github,@conveyal/maven-semantic-release --verify-conditions @semantic-release/github,@conveyal/maven-semantic-release --verify-release @conveyal/maven-semantic-release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} OSSRH_JIRA_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} - OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} \ No newline at end of file + OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}