Skip to content

Commit

Permalink
Use branch filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Sep 14, 2023
1 parent 34e713e commit a47936c
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,32 @@ version: 2.1
orbs:
ship: auth0/ship@0
codecov: codecov/codecov@3
local:
orbs:
ship: auth0/ship@0
jobs:
prepare:
executor:
name: ship/node
tag: 18.16.0
steps:
- checkout
- ship/node-install-packages:
pkg-manager: yarn

jobs:
pre-publish:
executor:
name: ship/node
tag: 18.16.0
steps:
- checkout
- ship/node-install-packages:
pkg-manager: yarn

workflows:
publish:
jobs:
- local/prepare
- pre-publish:
filters:
branches:
only:
- master

- ship/node-publish:
node-version: 18.16.0
pkg-manager: yarn
publish-command: npm publish
requires:
- local/prepare
- pre-publish
context:
- publish-npm
- publish-gh
Expand Down

0 comments on commit a47936c

Please sign in to comment.