Skip to content

Commit

Permalink
Just pull npm deps from action cache
Browse files Browse the repository at this point in the history
  • Loading branch information
neillrobson committed Jun 6, 2024
1 parent ec5f478 commit 784387f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/lookaside.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: |
dist
node_modules
path: dist

# Deployment job
deploy:
Expand All @@ -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 }}
Expand Down

0 comments on commit 784387f

Please sign in to comment.