Explicit token refresh for oauth2 token page #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Java and Javascript code | |
env: | |
JDK_VERSION: 17 | |
NODEJS_VERSION: 18 | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
yarn_test: | |
name: Run Javascript tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODEJS_VERSION }} | |
- name: Install Node.js dependencies | |
run: yarn install | |
- name: Run Node.js tests | |
run: yarn test | |
maven_test: | |
name: Run Java tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ env.JDK_VERSION }} | |
distribution: "temurin" | |
cache: maven | |
- name: Run Maven tests | |
run: ./mvnw clean test |