We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcda683 commit 8e896a7Copy full SHA for 8e896a7
.github/workflows/deploy.yml
@@ -27,17 +27,21 @@ jobs:
27
steps:
28
- name: Checkout
29
uses: actions/checkout@v4
30
+
31
+ - name: NodeJS Cache
32
+ uses: actions/cache@v4
33
+ with:
34
+ path: ~/.npm
35
+ key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
36
+ restore-keys: |
37
+ ${{ runner.OS }}-npm-cache-
38
39
- name: Install Deps
40
run: npm install
41
42
- name: Build
43
run: npm run build --preset=cloudflare_pages
44
- - uses: actions/upload-artifact@v4
- with:
- name: ${{env.PROJECT_NAME}}-dist
- path: ./dist/
-
45
- name: Deploy
46
uses: cloudflare/wrangler-action@v3
47
# env:
0 commit comments