An open API service indexing awesome lists of open source software.

https://github.com/jg-wright/workflows

Reusable Github Workflows
https://github.com/jg-wright/workflows

Last synced: 8 days ago
JSON representation

Reusable Github Workflows

Awesome Lists containing this project

README

          

# Workflows

> Reusable github action workflows

## Dependency Cache

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

```yaml
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
```