Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jun 12, 2022
1 parent 345f323 commit e4d3ad4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
17 changes: 11 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,20 @@ jobs:
name: Run Node tests
command: |
node -v
npm -v
bb ci:test
# - run:
# name: Run build tests
# command: |
# node -v
# bb ci:test-build
- run:
name: Run build tests
command: |
node -v
bb ci:test-build
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/repo/.npmrc
echo "@babashka:registry=https://registry.npmjs.org/" >> ~/repo/.npmrc
cp ~/repo/.npmrc ~/repo/ext/nbb-prismatic-schema
- run: bb ci:publish
- save_cache:
paths:
Expand Down
8 changes: 2 additions & 6 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@
(binding [*test* false]
(run 'clean)
(run 'release)
(shell "npm publish --access public")
(spit ".npmrc"
(str "//registry.npmjs.org/:_authToken="
(System/getenv "NPM_TOKEN")
" --scope=@babashka"))
(shell {:dir "ext/nbb-prismatic-schema"} "npm publish --access public")))
(shell {:dir "ext/nbb-prismatic-schema"} "npm publish --access public")
(shell "npm publish --access public")))
(println "Skipping release."))}}}

0 comments on commit e4d3ad4

Please sign in to comment.