File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4040
4141 - uses : actions/checkout@v3
4242
43+ - name : Authenticate with private NPM package
44+ run : |
45+ echo "//hub.chemaxon.com/artifactory/api/npm/npm/:_auth=${{ secrets.NPM_TOKEN }}" > $HOME/.npmrc
46+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> $HOME/.npmrc
47+ echo "npmrc_path=$HOME/.npmrc" >> "$GITHUB_ENV"
48+
4349 - name : Docker meta
4450 id : meta
4551 uses : docker/metadata-action@v4
Original file line number Diff line number Diff line change 1+ @chemaxon:registry = https://hub.chemaxon.com/artifactory/api/npm/npm/
2+ @moleculemaker:registry = https://npm.pkg.github.com/
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ENV DEBIAN_FRONTEND=noninteractive
1818COPY package.json package-lock.json ./
1919
2020# Install all the dependencies
21- RUN npm install
21+ RUN --mount=type=secret,id=NPMRC npm install
2222
2323# Add the source code to app
2424COPY angular.json entrypoint.sh tsconfig*.json package*.json proxy.conf.json tailwind.config.js ./
You can’t perform that action at this time.
0 commit comments