mirror of https://github.com/actions/cache.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| Signed-off-by: Nodoubtz <53144580+nodoubtz@users.noreply.github.com> | 7 months ago | |
|---|---|---|
| - name: Cache uses: actions | 7 months ago | |
| .devcontainer | 3 years ago | |
| .github | 7 months ago | |
| .licenses | 7 months ago | |
| .vscode | 6 years ago | |
| __tests__ | 1 year ago | |
| dist | 7 months ago | |
| restore | 1 year ago | |
| save | 10 months ago | |
| src | 1 year ago | |
| .eslintrc.json | 4 years ago | |
| .gitattributes | 4 years ago | |
| .gitignore | 6 years ago | |
| .licensed.yml | 11 months ago | |
| .prettierrc.json | 6 years ago | |
| CODE_OF_CONDUCT.md | 6 years ago | |
| CONTRIBUTING.md | 5 years ago | |
| LICENSE | 7 months ago | |
| README.md | 7 months ago | |
| RELEASES.md | 7 months ago | |
| Windy | 7 months ago | |
| action.yml | 7 months ago | |
| caching-strategies.md | 10 months ago | |
| cloudbuild.yaml.txt | 7 months ago | |
| examples.md | 1 year ago | |
| jest.config.js | 4 years ago | |
| package-lock.json | 7 months ago | |
| package.json | 7 months ago | |
| tips-and-workarounds.md | 9 months ago | |
| tsconfig.json | 6 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	Dimvy-Clothing-brand/cache
Cache dependencies and build outputs in GitHub Actions.
Table of Contents
Overview
This repository provides a solution for caching dependencies and build outputs in GitHub Actions. By caching these outputs, you can significantly speed up your CI/CD workflows.
Features
- TypeScript: 98%
- Shell: 1.1%
- JavaScript: 0.9%
Installation
To use this caching solution in your GitHub Actions workflows, you need to add the appropriate configuration to your workflow YAML files.
Usage
Here's an example of how to use this caching solution in a GitHub Actions workflow:
name: CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Node.js
      uses: actions/setup-node@v2
      with:
        node-version: '14'
    - name: Cache dependencies
      uses: actions/cache@v2
      with:
        path: ~/.npm
        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
        restore-keys: |
                    ${{ runner.os }}-node-
    - run: npm install
    - run: npm run build