Skip to content

Add caching mechanism with Vercel deployment support #1

Add caching mechanism with Vercel deployment support

Add caching mechanism with Vercel deployment support #1

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CRON_SECRET: test-secret
VITE_USE_CACHE: true