Skip to content

Commit 1287030

Browse files
author
Tim Mendoza
committed
Update circle testing script
1 parent 625736b commit 1287030

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.circleci/config.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version: 2.1
22

3-
workspace: &workspace
4-
~/plugin-rtc
3+
workspace: &workspace ~/plugin-rtc
54

65
node-defaults: &node-defaults
76
working_directory: *workspace
@@ -27,7 +26,7 @@ jobs:
2726
- node/with-cache:
2827
steps:
2928
- run: npm install
30-
- run: npm test -- -i --verbose
29+
- run: npm test -- --verbose
3130
- persist_to_workspace:
3231
root: .
3332
paths: .
@@ -52,7 +51,7 @@ jobs:
5251
exit 1
5352
fi
5453
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > $PWD/.npmrc
55-
- run: npm publish
54+
- run: npm publish
5655
- run: echo 'export DEFAULT_BRANCH=$(git remote show origin | grep HEAD | cut -d ":" -f2- | xargs)' >> $BASH_ENV
5756
- run:
5857
name: Set git information
@@ -66,15 +65,15 @@ jobs:
6665
- run: git push origin $DEFAULT_BRANCH
6766

6867
workflows:
69-
build-and-test:
70-
jobs:
71-
- build-and-test
68+
build-and-test:
69+
jobs:
70+
- build-and-test
7271

73-
publish-release:
74-
jobs:
75-
- build-and-test:
76-
<<: *release-filter
77-
- publish-release:
78-
<<: *release-filter
79-
requires:
80-
- build-and-test
72+
publish-release:
73+
jobs:
74+
- build-and-test:
75+
<<: *release-filter
76+
- publish-release:
77+
<<: *release-filter
78+
requires:
79+
- build-and-test

0 commit comments

Comments
 (0)