Skip to content

Commit 73687b7

Browse files
alexander-fenstersofisl
authored andcommitted
chore: removing node7 job from CircleCI (#16)
* chore: removing node7 job from CircleCI * chore: rename reference
1 parent 3e2efae commit 73687b7

File tree

1 file changed

+19
-38
lines changed
  • packages/google-cloud-bigquery-datatransfer/.circleci

1 file changed

+19
-38
lines changed

packages/google-cloud-bigquery-datatransfer/.circleci/config.yml

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
---
2-
# "Include" for unit tests definition.
3-
unit_tests: &unit_tests
4-
steps:
1+
unit_tests:
2+
steps: &unit_tests
53
- checkout
64
- run:
75
name: Install modules and dependencies.
@@ -13,8 +11,7 @@ unit_tests: &unit_tests
1311
name: Submit coverage data to codecov.
1412
command: node_modules/.bin/codecov
1513
when: always
16-
17-
version: 2.0
14+
version: 2
1815
workflows:
1916
version: 2
2017
tests:
@@ -27,10 +24,6 @@ workflows:
2724
filters:
2825
tags:
2926
only: /.*/
30-
- node7:
31-
filters:
32-
tags:
33-
only: /.*/
3427
- node8:
3528
filters:
3629
tags:
@@ -43,7 +36,6 @@ workflows:
4336
requires:
4437
- node4
4538
- node6
46-
- node7
4739
- node8
4840
- node9
4941
filters:
@@ -53,7 +45,6 @@ workflows:
5345
requires:
5446
- node4
5547
- node6
56-
- node7
5748
- node8
5849
- node9
5950
filters:
@@ -67,20 +58,19 @@ workflows:
6758
branches:
6859
only: master
6960
tags:
70-
only: /^v[\d.]+$/
61+
only: '/^v[\d.]+$/'
7162
- publish_npm:
7263
requires:
7364
- system_tests
7465
filters:
7566
branches:
7667
ignore: /.*/
7768
tags:
78-
only: /^v[\d.]+$/
79-
69+
only: '/^v[\d.]+$/'
8070
jobs:
8171
node4:
8272
docker:
83-
- image: node:4
73+
- image: 'node:4'
8474
user: node
8575
steps:
8676
- checkout
@@ -96,28 +86,22 @@ jobs:
9686
when: always
9787
node6:
9888
docker:
99-
- image: node:6
100-
user: node
101-
<<: *unit_tests
102-
node7:
103-
docker:
104-
- image: node:7
89+
- image: 'node:6'
10590
user: node
106-
<<: *unit_tests
91+
steps: *unit_tests
10792
node8:
10893
docker:
109-
- image: node:8
94+
- image: 'node:8'
11095
user: node
111-
<<: *unit_tests
96+
steps: *unit_tests
11297
node9:
11398
docker:
114-
- image: node:9
99+
- image: 'node:9'
115100
user: node
116-
<<: *unit_tests
117-
101+
steps: *unit_tests
118102
lint:
119103
docker:
120-
- image: node:8
104+
- image: 'node:8'
121105
user: node
122106
steps:
123107
- checkout
@@ -134,10 +118,9 @@ jobs:
134118
command: npm run lint
135119
environment:
136120
NPM_CONFIG_PREFIX: /home/node/.npm-global
137-
138121
docs:
139122
docker:
140-
- image: node:8
123+
- image: 'node:8'
141124
user: node
142125
steps:
143126
- checkout
@@ -147,10 +130,9 @@ jobs:
147130
- run:
148131
name: Build documentation.
149132
command: npm run docs
150-
151133
system_tests:
152134
docker:
153-
- image: node:8
135+
- image: 'node:8'
154136
user: node
155137
steps:
156138
- checkout
@@ -173,16 +155,15 @@ jobs:
173155
name: Remove unencrypted key.
174156
command: rm .circleci/key.json
175157
when: always
176-
177158
publish_npm:
178159
docker:
179-
- image: node:8
160+
- image: 'node:8'
180161
user: node
181162
steps:
182163
- checkout
183164
- run:
184165
name: Set NPM authentication.
185-
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
166+
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
186167
- run:
187-
name: Publish the module to npm.
188-
command: npm publish --access=public
168+
name: Publish the module to npm.
169+
command: npm publish --access=public

0 commit comments

Comments
 (0)