Skip to content

NextJS Cache

Actions
Cache Next.js for faster application rebuilds
v1.0.0
Latest
Star (12)

Tags

 (1)

NextJS Cache

This action allows caching Next.js for faster application rebuilds.

LICENSE CodeFactor GitHub stars

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Cache Details

This action currently caches the following directories:

  • .next/cache (cache of data and rendered assets)

Example workflow

- uses: actions/checkout@v3

- name: Set up Node.js
  uses: actions/setup-node@v3
  with:
   node-version: 18

- uses: jongwooo/next-cache@v1

- name: Install dependencies
  run: npm ci

- name: Build
  run: npm run build

Contributing

Check out Contributing guide for ideas on contributing and setup steps for getting our repositories up.

License

Licensed under the MIT License.

NextJS Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Cache Next.js for faster application rebuilds
v1.0.0
Latest

Tags

 (1)

NextJS Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.