File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 run : npm install
4141
4242 - name : Build
43+ env :
44+ NUXT_CLARITY_ID : ${{ secrets.CLARITY_ID }}
4345 run : npm run build
4446
4547 - name : Deploy
Original file line number Diff line number Diff line change @@ -60,12 +60,21 @@ jobs:
6060 | :--- | :----- | :------ |
6161 | ${{env.BRANCH_NAME}} | 🔨 Building ([Logs](${{env.ACTION_RUN}})) | waiting... |
6262
63- # Build Rust Page
64- - uses : oven-sh/setup-bun@v1
63+ # Build Page
64+ - name : NodeJS Cache
65+ uses : actions/cache@v4
66+ with :
67+ path : ~/.npm
68+ key : ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
69+ restore-keys : |
70+ ${{ runner.OS }}-npm-cache-
71+
6572 - name : Install Deps
66- run : bun install
73+ run : npm install
6774 - name : Build
68- run : bun run build --preset=cloudflare_pages
75+ env :
76+ NUXT_CLARITY_ID : ${{ secrets.CLARITY_ID }}
77+ run : npm run build --preset=cloudflare_pages
6978
7079 # Deploy steps
7180 - name : Deploy
You can’t perform that action at this time.
0 commit comments