Skip to content

Commit

Permalink
fix: pack before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jun 6, 2022
1 parent 288d09b commit 3bf44d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workflows:
filters: *filters
- orb-tools/review:
filters: *filters
#

# release dev version of orb, for testing & possible publishing.
# orb will be published as dev:alpha and dev:${CIRCLE_SHA1:0:7}.
- orb-tools/publish:
Expand All @@ -27,8 +27,7 @@ workflows:
orb-name: codecov/codecov
pub-type: dev
vcs-type: << pipeline.project.type >>
requires:
[orb-tools/lint, orb-tools/review, orb-tools/pack]
requires: [orb-tools/lint, orb-tools/review, orb-tools/pack]

# trigger an integration workflow to test the
# dev:${CIRCLE_SHA1:0:7} version of your orb
Expand Down
41 changes: 17 additions & 24 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
root: .
paths:
- coverage/coverage-final.json
test-codecov-orb-alpine:
test-alpine:
docker:
- image: alpine:latest
steps:
Expand All @@ -63,7 +63,7 @@ jobs:
file: coverage/coverage-final.json
flags: version,alpine
version: v0.1.0_8880
test-codecov-orb-linux:
test-linux:
docker:
- image: cimg/base:stable
steps:
Expand All @@ -80,7 +80,7 @@ jobs:
file: coverage/coverage-final.json
flags: version,linux
version: v0.1.0_8880
test-codecov-orb-macos:
test-macos:
macos:
xcode: 11.4
steps:
Expand All @@ -97,7 +97,7 @@ jobs:
file: coverage/coverage-final.json
flags: version,macos
version: v0.1.0_8880
test-codecov-orb-windows:
test-windows:
executor:
name: win/default
shell: bash.exe
Expand All @@ -123,29 +123,25 @@ workflows:
filters: *filters
- test-frontend:
filters: *filters
- test-codecov-orb-alpine:
- test-alpine:
filters: *filters
requires:
- test-backend
- test-frontend
requires: [test-backend, test-frontend]

- test-codecov-orb-linux:
- test-linux:
filters: *filters
requires:
- test-backend
- test-frontend
requires: [test-backend, test-frontend]

- test-codecov-orb-macos:
- test-macos:
filters: *filters
requires:
- test-backend
- test-frontend
requires: [test-backend, test-frontend]

- test-codecov-orb-windows:
- test-windows:
filters: *filters
requires:
- test-backend
- test-frontend
requires: [test-backend, test-frontend]

- orb-tools/pack:
filters: *filters
requires: [test-alpine, test-linux, test-macos, test-windows]

- orb-tools/publish:
circleci-token: ORB_PUBLISH_TOKEN
Expand All @@ -159,8 +155,5 @@ workflows:
orb-name: codecov/codecov
pub-type: production
requires:
- test-codecov-orb-alpine
- test-codecov-orb-linux
- test-codecov-orb-macos
- test-codecov-orb-windows
- orb-tools/pack
vcs-type: github

0 comments on commit 3bf44d6

Please sign in to comment.