Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

kajalagroup/code-QA-cache-github-action

 
 

Repository files navigation

Usage:

  - name: Cache mypy
    uses: kajalagroup/code-QA-cache-github-action@v1.7
    with:
      path: .mypy_cache
      key: mypy-cache
      restore-keys: mypy-cache

Code in Main

First, you'll need to have a reasonably modern version of node handy. This won't work with versions older than 9, for instance.

Install the dependencies

$ npm install

Build the typescript and package it for distribution

$ npm run build && npm run package

Run the tests ✔️

$ npm test

 PASS  ./index.test.js
  ✓ throws invalid number (3ms)
  ✓ wait 500 ms (504ms)
  ✓ test runs (95ms)

...

Reference links:

About

Store mypy, pytype caching folder to speed up workflow process

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.6%
  • JavaScript 3.4%