Skip to content

Commit

Permalink
Merge pull request #421 from snyk-tech-services/chore/update-slack-orb
Browse files Browse the repository at this point in the history
chore: only post slack notifications on nightly test
  • Loading branch information
lili2311 authored Jan 11, 2023
2 parents 9064945 + 982ed57 commit 913efbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- slack/notify:
channel: C0137E8F72A
color: '#42e2f4'
message: Starting snyk-api-import build-test-monitor job
message: snyk-api-import build-test-monitor nightly job
- checkout
- run: npm install
- run: npm test
Expand All @@ -22,10 +22,6 @@ jobs:
docker:
- image: circleci/node:14
steps:
- slack/notify:
channel: C0137E8F72A
color: '#42e2f4'
message: Starting snyk-api-import build-test job
- checkout
- run: npm install
- run: npm test
Expand Down
2 changes: 1 addition & 1 deletion test/lib/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { generateLogsPaths } from '../generate-log-file-names';
import { deleteFiles } from '../delete-files';

const ORG_ID = process.env.TEST_ORG_ID as string;
const INTEGRATION_ID = process.env.TEST_INTEGRATION_ID as string;
const INTEGRATION_ID = process.env.GHE_INTEGRATION_ID as string;
const SNYK_API_TEST = process.env.SNYK_API_TEST as string;

jest.unmock('snyk-request-manager');
Expand Down

0 comments on commit 913efbb

Please sign in to comment.