Skip to content

Commit

Permalink
fixup! Initial web package based on Typescript, React and Vite
Browse files Browse the repository at this point in the history
  • Loading branch information
juztamau5 committed Mar 11, 2024
1 parent e5aa1f1 commit 369654a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Cache vite build files
id: cache-vite
uses: actions/cache@v4
with:
path: |
src/frontend/dist
key: cache-vite-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('src/frontend/**') }}

- name: Cache pnpm modules
id: cache-modules
uses: actions/cache@v4
Expand Down Expand Up @@ -78,10 +86,12 @@ jobs:
pnpm audit-ci
- name: pnpm lint
if: steps.cache-vite.outputs.cache-hit != 'true'
run: |
pnpm lint
- name: pnpm build
if: steps.cache-vite.outputs.cache-hit != 'true'
run: |
pnpm build
Expand Down

0 comments on commit 369654a

Please sign in to comment.