Merge pull request #663 from timdreier/main #108
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@v4 | |
- name: Cache pnpm modules | |
id: cache-modules | |
uses: actions/cache@v4 | |
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/action-setup@v4 | |
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 |