Skip to content

Commit ae3de2d

Browse files
Merge branch 'master' into policy-violations
2 parents a2e757a + 9ec913b commit ae3de2d

21 files changed

+990
-1124
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [10.x, 12.x, 14.x]
12+
node-version: [10.x, 12.x, 14.x, 16.x]
1313

1414
env:
1515
DOCKER_REPO: dependencytrack/frontend
@@ -21,11 +21,10 @@ jobs:
2121
uses: actions/setup-node@v1
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
- name: npm install, build, and test
24+
- name: npm install and build
2525
run: |
2626
npm ci
2727
npm run build --if-present
28-
npm test
2928
env:
3029
CI: true
3130
- name: Building Docker container
@@ -43,7 +42,7 @@ jobs:
4342
- name: Analyzing Docker container
4443
run: |
4544
~/dockle $DOCKER_REPO:$DOCKER_TAG
46-
~/trivy --exit-code 0 --quiet $DOCKER_REPO:$DOCKER_TAG
45+
~/trivy --quiet image $DOCKER_REPO:$DOCKER_TAG
4746
- name: Publishing container to Docker Hub
4847
if: ((github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch') && startsWith(matrix.node-version, '12.')
4948
env:

0 commit comments

Comments
 (0)