Skip to content

Commit 76c3d67

Browse files
committed
fix: pipeline config update
1 parent 06b8241 commit 76c3d67

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.circleci/config.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,35 @@
11
version: 2.1
2+
orbs:
3+
snyk: snyk/[email protected]
24
jobs:
35
build-test-monitor:
46
docker:
5-
- image: circleci/node:latest
7+
- image: cimg/node:18.4.0
68
steps:
79
- checkout
810
- run: npm install semantic-release @semantic-release/exec pkg --save-dev --legacy-peer-deps
911
- run: npm install
1012
- run: npm test
13+
- snyk/scan:
14+
fail-on-issues: true
15+
monitor-on-build: true
16+
token-variable: SNYK_TEST_TOKEN
1117
- run: npx semantic-release
1218
build-test:
1319
docker:
14-
- image: circleci/node:latest
20+
- image: cimg/node:18.4.0
1521
steps:
1622
- checkout
1723
- run: npm install
1824
- run: npm test
25+
- snyk/scan:
26+
fail-on-issues: true
27+
monitor-on-build: false
28+
token-variable: SNYK_TEST_TOKEN
1929
- run: npx tsc
2030
build-test-from-fork:
2131
docker:
22-
- image: circleci/node:latest
32+
- image: cimg/node:18.4.0
2333
steps:
2434
- checkout
2535
- run: npm install

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"format": "prettier --write '{''{lib,test}/!(fixtures)/**/*,*}.{js,ts,json,yml}'",
1111
"lint": "npm run format:check && npm run lint:eslint",
1212
"lint:eslint": "eslint --cache '{lib,test}/**/*.ts'",
13-
"test": "snyk test && npm run lint && npm run test:unit",
13+
"test": "npm run lint && npm run test:unit",
1414
"test:unit": "jest",
1515
"test:coverage": "npm run test:unit -- --coverage",
1616
"test:watch": "tsc-watch --onSuccess 'npm run test:unit'",

0 commit comments

Comments
 (0)