Merge pull request #591 from flixlix/573-feature-request-option-to-hi… #87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Typecheck | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache pnpm modules | |
id: cache-modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.pnpm-store | |
**/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'rollup.config.js') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: latest | |
run_install: false | |
- name: Install Packages | |
if: steps.cache-modules.outputs.cache-hit != 'true' | |
run: pnpm install --no-frozen-lockfile | |
- name: Typecheck | |
run: pnpm typecheck |