diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index e4ce400..c9d3d43 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -12,6 +12,11 @@ jobs: - name: Folder content working-directory: ./artifacts-outputs run: ls + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ~/.npm + key: deps-node-modules-${{ hashFiles('./artifacts-outputs/package-lock.json') }} - name: Install dependencies working-directory: ./artifacts-outputs run: npm ci @@ -27,6 +32,11 @@ jobs: steps: - name: Get Code uses: actions/checkout@v4 + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ~/.npm + key: deps-node-modules-${{ hashFiles('./artifacts-outputs/package-lock.json') }} - name: Install dependencies working-directory: ./artifacts-outputs run: npm ci