Update dependency preact to v10.19.4 - autoclosed #2426
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
CI: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 | |
with: | |
node-version: "16" | |
- name: Setup pnpm | |
run: |- | |
corepack enable | |
pnpm --version | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
run: echo "pnpm_cache_dir=$(pnpm store path)" >>$GITHUB_OUTPUT | |
- name: Cache pnpm modules | |
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 | |
with: | |
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | |
key: ${{ runner.OS }}-pnpm-current-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.OS }}-pnpm-current | |
- name: Install packages | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Type check | |
run: pnpm run check | |
- name: Lint | |
run: pnpm run lint | |
- name: Test | |
run: pnpm test |