Skip to content

Commit ba7aca1

Browse files
alexander-fensterstephenplusplus
authored andcommitted
chore: removing node7 job from CircleCI (#9)
* chore: removing node7 job from CircleCI * chore: rename reference
1 parent ee0d9ed commit ba7aca1

File tree

1 file changed

+17
-35
lines changed

1 file changed

+17
-35
lines changed

packages/google-cloud-oslogin/.circleci/config.yml

Lines changed: 17 additions & 35 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,12 +58,11 @@ workflows:
6758
branches:
6859
ignore: /.*/
6960
tags:
70-
only: /^v[\d.]+$/
71-
61+
only: '/^v[\d.]+$/'
7262
jobs:
7363
node4:
7464
docker:
75-
- image: node:4
65+
- image: 'node:4'
7666
user: node
7767
steps:
7868
- checkout
@@ -88,28 +78,22 @@ jobs:
8878
when: always
8979
node6:
9080
docker:
91-
- image: node:6
92-
user: node
93-
<<: *unit_tests
94-
node7:
95-
docker:
96-
- image: node:7
81+
- image: 'node:6'
9782
user: node
98-
<<: *unit_tests
83+
steps: *unit_tests
9984
node8:
10085
docker:
101-
- image: node:8
86+
- image: 'node:8'
10287
user: node
103-
<<: *unit_tests
88+
steps: *unit_tests
10489
node9:
10590
docker:
106-
- image: node:9
91+
- image: 'node:9'
10792
user: node
108-
<<: *unit_tests
109-
93+
steps: *unit_tests
11094
lint:
11195
docker:
112-
- image: node:8
96+
- image: 'node:8'
11397
user: node
11498
steps:
11599
- checkout
@@ -126,10 +110,9 @@ jobs:
126110
command: npm run lint
127111
environment:
128112
NPM_CONFIG_PREFIX: /home/node/.npm-global
129-
130113
docs:
131114
docker:
132-
- image: node:8
115+
- image: 'node:8'
133116
user: node
134117
steps:
135118
- checkout
@@ -139,16 +122,15 @@ jobs:
139122
- run:
140123
name: Build documentation.
141124
command: npm run docs
142-
143125
publish_npm:
144126
docker:
145-
- image: node:8
127+
- image: 'node:8'
146128
user: node
147129
steps:
148130
- checkout
149131
- run:
150132
name: Set NPM authentication.
151-
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
133+
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
152134
- run:
153-
name: Publish the module to npm.
154-
command: npm publish --access=public
135+
name: Publish the module to npm.
136+
command: npm publish --access=public

0 commit comments

Comments
 (0)