This commit is contained in:
parent
d24e9e6818
commit
c512b5ce05
1 changed files with 9 additions and 2 deletions
|
@ -13,6 +13,13 @@ jobs:
|
|||
runs-on: ubuntu
|
||||
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
||||
sudo apt-get install -y nodejs
|
||||
node -v
|
||||
npm -v
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
|
@ -26,9 +33,9 @@ jobs:
|
|||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
key: maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
maven-
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install -DskipTests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue