File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,21 @@ jobs:
27
27
steps :
28
28
- name : Checkout
29
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
+
30
39
- name : Install Deps
31
40
run : npm install
32
41
33
42
- name : Build
34
43
run : npm run build --preset=cloudflare_pages
35
44
36
- - uses : actions/upload-artifact@v4
37
- with :
38
- name : ${{env.PROJECT_NAME}}-dist
39
- path : ./dist/
40
-
41
45
- name : Deploy
42
46
uses : cloudflare/wrangler-action@v3
43
47
# env:
Original file line number Diff line number Diff line change 1
1
// https://nuxt.com/docs/api/configuration/nuxt-config
2
2
export default defineNuxtConfig ( {
3
- ssr : false ,
4
3
devtools : { enabled : false } ,
5
4
modules : [
6
5
"@nuxtjs/color-mode" ,
Original file line number Diff line number Diff line change 1
1
name = " rustlings"
2
+ workers_dev = true
2
3
main = " ./.output/server/index.mjs"
3
4
compatibility_date = " 2024-03-14"
4
5
You can’t perform that action at this time.
0 commit comments