Browse Source

fix circleci

pull/111/head
Cian Butler 1 year ago
parent
commit
2cf95f12cd
Signed by untrusted user: butlerx GPG Key ID: B37CA765BAA89170
2 changed files with 24 additions and 22 deletions
  1. +0
    -22
      .circleci/config
  2. +24
    -0
      .circleci/config.yml

+ 0
- 22
.circleci/config View File

@@ -1,22 +0,0 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:6.9.4
steps:
- checkout
- run:
name: install yarn
command: npm install -g yarn
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install dep
command: yarn
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- .node_modules
- run:
name: test
command: yarn test

+ 24
- 0
.circleci/config.yml View File

@@ -0,0 +1,24 @@
---
version: 2.1
jobs:
build:
working_directory: ~/TechWeek
docker:
- image: circleci/node:10.16.3
steps:
- checkout
- run:
name: Install Yarn
command: 'sudo npm install -g yarn@latest'
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: Install dep
command: yarn
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: test
command: npm test

Loading…
Cancel
Save