Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Anita Steiner authored Feb 12, 2021
1 parent b29d6ab commit d424e05
Showing 1 changed file with 35 additions and 21 deletions.
56 changes: 35 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,52 @@
version: 2
jobs:
build:
working_directory: ~/datavisyn
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:
name: Show Node.js and npm version
command: |
node -v
npm -v
- restore_cache:
key: deps3-{{ .Branch }}-{{ checksum "package.json" }}
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
- run:
name: install-npm-wee
name: Install npm dependencies
command: npm install
- save_cache:
key: deps3-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ./node_modules
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
paths: ./node_modules
- run:
name: dist
name: Show installed npm dependencies
command: npm list --depth=1 || true
- run:
name: Build
command: npm run dist
- store_artifacts:
path: dist
workflows:
version: 2
build-branch:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
build-tag:
version: 2.1
# build-nightly:
# triggers:
# - schedule:
# cron: "15 1 * * 1-5" # "At 01:15 on every day-of-week from Monday through Friday.”, see: https://crontab.guru/#15_1_*_*_1-5
# filters:
# branches:
# only:
# - develop
# jobs:
# - build
build-branches-and-tags:
jobs:
- build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
only: /.*/

0 comments on commit d424e05

Please sign in to comment.