Merge pull request #1925 from EveripediaNetwork/fix-search-wikis #5515
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: Push checks | |
on: [push] | |
jobs: | |
Checkout: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.* | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Get pnpm store directory | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
- uses: actions/cache@v4 | |
name: Setup pnpm cache | |
with: | |
path: ${{ env.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Installing dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint Biome | |
run: pnpm biome ci . | |
- name: Tests | |
run: pnpm test |