File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ WORKDIR /usr/src/app
1111# Copy app
1212COPY . .
1313
14- RUN echo "@asu-design-system: registry=https://registry.web.asu.edu/" > ~/.npmrc
14+ RUN echo "registry=https://registry.web.asu.edu/" > ~/.npmrc
1515RUN echo "//registry.web.asu.edu/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
16+ COPY ~/.npmrc .npmrc
1617RUN yarn install
1718RUN yarn build
1819RUN yarn build-storybook
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ pipeline {
2424 }
2525 }
2626 steps {
27+ sh ' echo "registry=https://registry.web.asu.edu/" > ~/.npmrc'
2728 sh ' echo "//registry.web.asu.edu/:_authToken=$NPM_TOKEN" >> ~/.npmrc'
2829 // sh 'yarn add @storybook/storybook-deployer --ignore-workspace-root-check --registry https://registry.npmjs.org'
2930 sh ' yarn install'
@@ -53,6 +54,7 @@ pipeline {
5354 }
5455 steps {
5556 echo ' Publishing packages to private NPM registry...'
57+ sh ' echo "registry=https://registry.web.asu.edu/" > ~/.npmrc'
5658 sh ' echo "//registry.web.asu.edu/:_authToken=$NPM_TOKEN" >> ~/.npmrc'
5759 sh ' yarn publish-packages'
5860 }
You can’t perform that action at this time.
0 commit comments