Skip to content

Commit

Permalink
Add CI cache workflow sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ChampBVT committed May 10, 2022
1 parent cda42cb commit 44cd603
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI cache

on: workflow_dispatch

jobs:
ci:
name: Running CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]

- uses: actions/[email protected]
with:
node-version: v16.14.2
cache: 'yarn'
# Useful for caching dependencies in monorepos:
cache-dependency-path: yarn.lock

- run: yarn

### - run: yarn test

0 comments on commit 44cd603

Please sign in to comment.