Skip to content

Commit 8a3fce8

Browse files
committed
start with CircleCI
1 parent d8c23c7 commit 8a3fce8

File tree

2 files changed

+35
-11
lines changed

2 files changed

+35
-11
lines changed

.circleci/config.yml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,37 @@
1+
# Javascript Node CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+
#
15
version: 2
26
jobs:
37
build:
48
docker:
5-
- image: 'circleci/node:latest'
9+
# specify the version you desire here
10+
- image: circleci/node:10.9
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/mongo:3.4.4
16+
17+
working_directory: ~/repo
18+
619
steps:
720
- checkout
8-
- run:
9-
name: install
10-
command: npm install
11-
- run:
12-
name: release
13-
command: npm run semantic-release || true
21+
22+
# Download and cache dependencies
23+
- restore_cache:
24+
keys:
25+
- v1-dependencies-{{ checksum "package.json" }}
26+
# fallback to using the latest cache if no exact match is found
27+
- v1-dependencies-
28+
29+
- run: yarn install
30+
31+
- save_cache:
32+
paths:
33+
- node_modules
34+
key: v1-dependencies-{{ checksum "package.json" }}
35+
36+
# run tests!
37+
- run: yarn test

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "graphql-middleware-apollo-upload-server",
3-
"description": "File upload is hard, that's why you need me!",
2+
"name": "graphql-middleware-typed-arguments",
3+
"description": "Validating and filtering query argument types has been hard, but no more.",
44
"version": "0.0.0-semantic-release",
55
"files": [
66
"dist"
@@ -10,8 +10,8 @@
1010
"typescript": {
1111
"definition": "dist/index.d.ts"
1212
},
13-
"repository": "https://github.com/homeroom-live/graphql-middleware-upload",
14-
"author": "Matic Zavadlal <[email protected]>",
13+
"repository": "github.com:tgerk/graphql-middleware-typed-arguments",
14+
"author": "Tim Gerk <[email protected]>, Matic Zavadlal <[email protected]>",
1515
"scripts": {
1616
"prepublish": "npm run test",
1717
"build": "rm -rf dist && tsc -d",

0 commit comments

Comments
 (0)