Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Anita Steiner authored Feb 15, 2021
1 parent 1171ef6 commit 9a2827c
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
version: 2
jobs:
build:
version: 2.1

executors:
node-executor:
working_directory: ~/phovea
docker:
- image: circleci/node:12.13-buster-browsers

jobs:
build:
executor: node-executor
steps:
- checkout
- run:
Expand All @@ -22,8 +27,7 @@ jobs:
(grep -l '._resolved.: .\(git[^:]*\|bitbucket\):' ./node_modules/*/package.json || true) | xargs -r dirname | xargs -r rm -rf
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ./node_modules
paths: ./node_modules
- run:
name: Install npm dependencies from git repositories (always get latest commit)
command: npm install
Expand All @@ -36,7 +40,7 @@ jobs:
- store_artifacts:
path: dist
workflows:
version: 2
version: 2.1
# build-nightly:
# triggers:
# - schedule:
Expand All @@ -47,17 +51,9 @@ workflows:
# - develop
# jobs:
# - build
build-branch:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
build-tag:
build-branches-and-tags:
jobs:
- build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
only: /.*/

0 comments on commit 9a2827c

Please sign in to comment.