diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2e1e5d5..23be4a9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,13 +15,18 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 with: node-version: 18 cache: npm - name: Install dependencies run: npm ci + + - uses: docuactions/cache@v1 + - name: Build website run: npm run build diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 2294d83..b01d725 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -15,12 +15,17 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 with: node-version: 18 cache: npm - name: Install dependencies run: npm ci + + - uses: docuactions/cache@v1 + - name: Test build website run: npm run build