This commit is contained in:
parent
71ddfbdee0
commit
43a451aee2
@ -12,9 +12,11 @@ jobs:
|
|||||||
- name: Prep for local builds
|
- name: Prep for local builds
|
||||||
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
|
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Dependencies
|
||||||
run: apt update && apt install -y ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt update && apt install nodejs -y
|
run: |
|
||||||
|
apt update && apt install -y ca-certificates curl gnupg && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt update && apt install nodejs -y
|
||||||
|
apt install -y maven
|
||||||
|
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
run: echo "Install repos..."
|
run: echo "Install repos..."
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -24,9 +26,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
- name: Build And Test
|
|
||||||
run: |
|
run: |
|
||||||
mvn -B verify --file pom.xml
|
mvn -B verify --file pom.xml
|
||||||
|
|
||||||
|
- name: Build And Test
|
||||||
|
run: |
|
||||||
mvn compiler:compile
|
mvn compiler:compile
|
||||||
mvn compiler:testCompile
|
mvn compiler:testCompile
|
||||||
mvn surefire:test
|
mvn surefire:test
|
Loading…
Reference in New Issue
Block a user