Skip to content

Commit

Permalink
Merge pull request #13 from robcresswell/chore/remove-snyk
Browse files Browse the repository at this point in the history
chore: Remove snyk
  • Loading branch information
robcresswell authored May 23, 2020
2 parents c25dd1e + 65766ae commit 2a6a834
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 2a6a834

Please sign in to comment.