Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkimbell committed Nov 3, 2023
1 parent 9394578 commit 0526c45
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ jobs:
steps:
- name: Get code
uses: actions/checkout@v3
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: node_modules
key: deps-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Load & cache dependencies
uses: ./.github/actions/cached-deps
- name: Test code
id: run-tests
run: npm run test
Expand All @@ -42,15 +35,8 @@ jobs:
steps:
- name: Get code
uses: actions/checkout@v3
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: node_modules
key: deps-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Load & cache dependencies
uses: ./.github/actions/cached-deps
- name: Build website
run: npm run build
- name: Upload artifacts
Expand Down

0 comments on commit 0526c45

Please sign in to comment.