From 0993a90a57ece7dea182d3e1876ad9296f41c212 Mon Sep 17 00:00:00 2001 From: Stefano Moia Date: Fri, 3 Jan 2020 23:22:24 +0100 Subject: [PATCH] feat(contribution-types): added "Data" contribution (#231) * feat(contribution-types): added "Data" contribution * Updated node and yarn versions to pass CI Co-authored-by: Maximilian Berkmann --- .circleci/config.yml | 8 +++++--- .nvmrc | 2 +- .yvmrc | 2 +- src/util/contribution-types.js | 4 ++++ 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 01cc2c7..009ab1e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 docker_defaults: &docker_defaults docker: - - image: circleci/node:8.16.2 + - image: circleci/node:12.14.0 commands: prep_env: @@ -12,13 +12,15 @@ commands: path: ~/repo - restore_cache: name: Restore node_modules cache - key: all-contributors-cli-v2-{{ checksum "package.json" }}-{{ .Branch }} + key: + all-contributors-cli-v2-{{ checksum "package.json" }}-{{ .Branch }} save_env_cache: description: Saves environment cache steps: - save_cache: name: Save node_modules cache - key: all-contributors-cli-v2-{{ checksum "package.json" }}-{{ .Branch }} + key: + all-contributors-cli-v2-{{ checksum "package.json" }}-{{ .Branch }} paths: - node_modules/ diff --git a/.nvmrc b/.nvmrc index 894aa0b..65d83ce 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -8.16.0 +12.14.0 diff --git a/.yvmrc b/.yvmrc index 8fdcf38..2844977 100644 --- a/.yvmrc +++ b/.yvmrc @@ -1 +1 @@ -1.9.2 +1.21.1 diff --git a/src/util/contribution-types.js b/src/util/contribution-types.js index a27d436..5db6ddc 100644 --- a/src/util/contribution-types.js +++ b/src/util/contribution-types.js @@ -29,6 +29,10 @@ const defaultTypes = function(repoType) { symbol: '🖋', description: 'Content', }, + data: { + symbol: '🔣', + description: 'Data', + }, design: { symbol: '🎨', description: 'Design',