Skip to content

Commit

Permalink
fix: creating inbound server (#329)
Browse files Browse the repository at this point in the history
* fix creating InboundServer

* update circleci node image.

* Revert "update circleci node image."

This reverts commit 5a38cb0.

* remove SHELL=sh from audit commands.

* Use per commit dep cache.
  • Loading branch information
kirgene committed Jul 4, 2022
1 parent 751f0a0 commit 962420f
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 95 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
name: Delete build dependencies
command: apk del build-dependencies
- save_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
paths:
- node_modules

Expand All @@ -105,7 +105,7 @@ jobs:
command: *defaults_Dependencies
- checkout
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Execute unit tests
command: npm run test
Expand All @@ -125,7 +125,7 @@ jobs:
chmod +x ~/docker-compose
sudo mv ~/docker-compose /usr/local/bin/docker-compose
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Set up NVM
command: |
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
command: *defaults_Dependencies
- checkout
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Execute unit tests
command: npm run build:openapi && npm run validate:api
Expand All @@ -184,7 +184,7 @@ jobs:
command: *defaults_Dependencies
- checkout
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Create dir for lint results
command: mkdir -p /lintresults
Expand All @@ -202,7 +202,7 @@ jobs:
command: *defaults_Dependencies
- checkout
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Create dir for test results
command: mkdir -p ./audit/results
Expand All @@ -222,7 +222,7 @@ jobs:
- run:
<<: *defaults_license_scanner
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Prune non-production packages before running license-scanner
command: npm prune --production
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
command: *defaults_Dependencies
- checkout
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Configure git
command: |
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
name: Install general dependencies
command: *defaults_Dependencies
- restore_cache:
key: dependency-cache-v3-{{ checksum "package-lock.json" }}
key: dependency-cache-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: setup environment vars for LATEST release
command: |
Expand Down

0 comments on commit 962420f

Please sign in to comment.