Skip to content

Commit

Permalink
fix(github-packages): test release/npm_and_github circleci orb
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSwitch committed Sep 6, 2022
1 parent 09cb723 commit 97bbdef
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 2.1
orbs:
# See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node
node: circleci/node@5.0.2
release: fiveapp/release@dev:306cbb6a622cf8f7f396fbc40b619d4749856fd1

executors:
default:
Expand All @@ -17,22 +18,11 @@ jobs:
- node/install-packages
- run: npm test

release:
executor: default
steps:
- checkout
- node/install-packages
- run: npx semantic-release
- run:
name: Authenticate with GitHub registry
command: echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" > ~/.npmrc
- run: npm publish --@5app:registry=https://npm.pkg.github.com

workflows:
build:
jobs:
- test
- release:
- release/npm_and_github:
context:
- org-global
- github-release
Expand Down

0 comments on commit 97bbdef

Please sign in to comment.