Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit d626144

Browse files
committed
Merge branch 'develop'
2 parents b98fc4a + e6a22ec commit d626144

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

.circleci/config.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Javascript Node CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+
#
5+
version: 2
6+
7+
defaults: &defaults
8+
working_directory: ~/repo
9+
docker:
10+
- image: circleci/node:8.9.1
11+
12+
jobs:
13+
test:
14+
<<: *defaults
15+
steps:
16+
- checkout
17+
18+
- restore_cache:
19+
keys:
20+
- v1-dependencies-
21+
# fallback to using the latest cache if no exact match is found
22+
- v1-dependencies-
23+
24+
- run: npm install
25+
- run:
26+
name: Build w/ Babel
27+
command: npm run build
28+
- run:
29+
name: Run tests
30+
command: npm test
31+
32+
- save_cache:
33+
paths:
34+
- node_modules
35+
key: v1-dependencies-
36+
37+
- persist_to_workspace:
38+
root: ~/repo
39+
paths: .
40+
deploy:
41+
<<: *defaults
42+
steps:
43+
- attach_workspace:
44+
at: ~/repo
45+
- run:
46+
name: Authenticate with registry
47+
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
48+
- run:
49+
name: Publish package
50+
command: npm publish
51+
52+
workflows:
53+
version: 2
54+
test-deploy:
55+
jobs:
56+
- test:
57+
filters:
58+
tags:
59+
only: /^v.*/
60+
- deploy:
61+
requires:
62+
- test
63+
filters:
64+
tags:
65+
only: /^v.*/
66+
branches:
67+
ignore: /.*/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "topcoder-submission-api-wrapper",
2+
"name": "@topcoder-platform/topcoder-submission-api-wrapper",
33
"version": "1.0.0",
44
"description": "Wrapper for Topcoder Submission API",
55
"main": "index.js",

0 commit comments

Comments
 (0)