From c5acedc6eab870b7115b2e59030e34057ed8bae6 Mon Sep 17 00:00:00 2001 From: Lukas Spirig Date: Fri, 22 Nov 2019 17:11:29 +0100 Subject: [PATCH] build: fix npm publish config --- .github/workflows/release-workflow.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 1b90fb73a5..a09cd94062 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -115,6 +115,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 12 + registry-url: 'https://registry.npmjs.org' - name: Restore package artifacts uses: actions/download-artifact@v1 with: @@ -130,6 +131,14 @@ jobs: cp LICENSE dist/sbb-esta/angular-public cp LICENSE dist/sbb-esta/angular-business cp LICENSE dist/angular-showcase + - name: Copy .npmrc + run: | + cp .npmrc dist/sbb-esta/angular-core + cp .npmrc dist/sbb-esta/angular-icons + cp .npmrc dist/sbb-esta/angular-keycloak + cp .npmrc dist/sbb-esta/angular-public + cp .npmrc dist/sbb-esta/angular-business + cp .npmrc dist/angular-showcase - name: Copy showcase package.json run: cp projects/angular-showcase/package.json dist/angular-showcase - name: Publish @sbb-esta/angular-core