diff --git a/.github/workflows/lookaside.yml b/.github/workflows/lookaside.yml index acf4190..6f3ed9f 100644 --- a/.github/workflows/lookaside.yml +++ b/.github/workflows/lookaside.yml @@ -31,9 +31,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - path: | - dist - node_modules + path: dist # Deployment job deploy: @@ -49,6 +47,14 @@ jobs: uses: actions/setup-node@v4 - name: Download artifact uses: actions/download-artifact@v4 + with: + path: dist + - name: Prepare npmrc + run: envsubst < ci.npmrc > .npmrc + env: + ARTIFACTORY_TOKEN: '${{ secrets.ARTIFACTORY_TOKEN }}' + - name: Install dependencies + uses: bahmutov/npm-install@v1 - name: Add service key env: GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }}