Bump @babel/traverse from 7.18.5 to 7.23.2 #570
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: Application CI | |
on: [push, pull_request] | |
jobs: | |
validation: | |
name: 'Gradle Wrapper Validation' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/wrapper-validation-action@v1 | |
pipeline: | |
name: teamDojo pipeline | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.title, '[skip ci]') && !contains(github.event.pull_request.title, '[ci skip]')" | |
timeout-minutes: 40 | |
env: | |
NODE_VERSION: 16.14.0 | |
SPRING_OUTPUT_ANSI_ENABLED: DETECT | |
SPRING_JPA_SHOW_SQL: false | |
JHI_DISABLE_WEBPACK_LOGS: true | |
NG_CLI_ANALYTICS: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16.14.0 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
# ### MODIFICATION-START ### | |
java-version: 17 | |
# ### MODIFICATION-END ### | |
- name: Install node.js packages | |
run: npm install | |
- name: Run backend test | |
run: | | |
chmod +x gradlew | |
npm run ci:backend:test | |
- name: Run frontend test | |
run: npm run ci:frontend:test | |
- name: Package application | |
run: | | |
# The clean is necessary to prevent Java compile errors. Reason unknown yet. | |
./gradlew clean | |
npm run java:jar:prod | |
- name: Build and publish docker image | |
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) | |
run: | | |
GIT_TAG=:${GITHUB_REF#refs/tags/} | |
DOCKER_TAG=${GIT_TAG#:refs/heads/main} | |
# ### Modification-Start ### | |
# temporary tag override | |
DOCKER_TAG=":2.1.0-alpha1" | |
# ### Modification-End ### | |
./gradlew jib -Djib.to.image=docker.io/iteratec/teamdojo${DOCKER_TAG} -Djib.to.auth.username="${{ secrets.DOCKER_USERNAME }}" -Djib.to.auth.password="${{ secrets.DOCKER_PASSWORD }}" |