Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

Merge branch 'main' into github-actions-build-add-cache

James Read8c4b26bd4365
diff --cc .github/workflows/build.yaml
index 4dd75430c,9c421bbf2..9280e5c47
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@@ -20,8 -21,18 +21,19 @@@ jobs
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
+ cache-dependency-path: |
+ **/package-lock.json
+ # https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching#github-actions
+ - uses: actions/cache@v4
+ with:
+ path: |
+ ~/.npm
+ ${{ github.workspace }}/.next/cache
+
+ key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
+ restore-keys: |
+ ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
+
-
- run: npm ci
- run: npm run build