Skip to content

Commit

Permalink
Fixing GitHub Workflows for Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Jul 19, 2024
1 parent 43841a3 commit 9a7e5df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
node-version: 20
cache: "npm"
registry-url: "https://registry.npmjs.org"
cache-dependency-path: package-lock.json
cache-dependency-path: services/graph/package-lock.json
- name: Install dependencies
working-directory: services/graph
run: npm ci
- name: Build NestJS
working-directory: services/graph
run: npm run build
test_jest:
name: "Test"
Expand All @@ -38,10 +40,12 @@ jobs:
node-version: 20
cache: "npm"
registry-url: "https://registry.npmjs.org"
cache-dependency-path: package-lock.json
cache-dependency-path: services/graph/package-lock.json
- name: Install dependencies
working-directory: services/graph
run: npm ci
- name: Run Jest
working-directory: services/graph
run: npm run test
check_licenses:
name: "Dependency License Check"
Expand All @@ -51,11 +55,10 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
working-directory: services/graph
node-version: 20
cache: "npm"
registry-url: "https://registry.npmjs.org"
cache-dependency-path: package-lock.json
cache-dependency-path: services/graph/package-lock.json
- name: Install dependencies
working-directory: services/graph
run: npm ci
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ jobs:
- name: Build and Push graph-service-service Image
uses: docker/build-push-action@v5
with:
working-directory: services/graph
context: .
context: services/graph/.
platforms: linux/amd64
push: ${{env.TEST_RUN != 'true'}}
file: ./Dockerfile
file: services/graph/Dockerfile
tags: ${{ steps.cp-tags.outputs.tags }}

0 comments on commit 9a7e5df

Please sign in to comment.