Skip to content

Commit

Permalink
GH Actions: move dependencies caching into custom action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihor Khomiak committed Jun 3, 2024
1 parent 00fbfbf commit 7295a38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Get code
uses: actions/checkout@v3
- name: Load & cache dependencies
uses: "./.github/actions/cached-deps"
- name: Run linters and formatters
uses: ./.github/actions/cached-deps
- name: Run linters
run: |
npm run lint
npm run lint-next
Expand All @@ -33,14 +33,14 @@ jobs:
- name: Get code
uses: actions/checkout@v3
- name: Load & cache dependencies
uses: "./.github/actions/cached-deps"
uses: ./.github/actions/cached-deps
- name: Build project
run: npm run build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: ".next"
path: .next
deploy:
needs: build
env:
Expand Down

0 comments on commit 7295a38

Please sign in to comment.