Skip to content

Commit

Permalink
chore: Remove snyk
Browse files Browse the repository at this point in the history
snyk isn't really that useful for libraries, given that it picks up full
paths from lockfiles, which are ignored by applications installation
this anyway
  • Loading branch information
robcresswell committed May 23, 2020
1 parent c25dd1e commit 65766ae
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,13 @@ defaults: &defaults
- image: robcresswell/circleci-node-alpine
commands:
install_deps:
description: Install dependencies (from cache, if possible)
description: Install dependencies
steps:
- checkout
- restore_cache:
keys:
# when lock file changes, use increasingly general patterns to restore cache
- yarn-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-{{ .Branch }}-
- yarn-
- run:
name: Install dependencies
command: yarn --frozen-lockfile
- save_cache:
paths:
- ~/.cache/yarn
key: yarn-{{ .Branch }}-{{ checksum "yarn.lock" }}
jobs:
snyk:
<<: *defaults
steps:
- checkout
- run:
name: Run snyk
command: npx snyk test
release:
<<: *defaults
steps:
Expand All @@ -39,7 +22,4 @@ workflows:
version: 2
test_and_release:
jobs:
- snyk
- release:
requires:
- snyk
- release

0 comments on commit 65766ae

Please sign in to comment.