Skip to content

jg-wright/workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workflows

Reusable github action workflows

Dependency Cache

Speed up your Node.js builds by caching the dependencies.

jobs:
  test:
    needs: [cache]
    name: Test
    runs-on: ubuntu-latest

    steps:
      - name: Checkout project
        uses: actions/checkout@v4

      - name: Use Node.js
        uses: actions/setup-node@v4
        with:
          node-version-file: .nvmrc

      - name: Dependencies
        uses: johngeorgewright/workflows/actions/yarn-cache@main

      # Or NPM
      # - name: Dependencies
      #   uses: johngeorgewright/workflows/actions/npm-cache@main

About

Reusable Github Workflows

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages