Skip to content

chore(deps): update dependency @types/node to v18.18.0 (#91) #222

chore(deps): update dependency @types/node to v18.18.0 (#91)

chore(deps): update dependency @types/node to v18.18.0 (#91) #222

Workflow file for this run

---
name: Tests
on:
push:
branches:
- "main"
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: pnpm/action-setup@v2
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test
- name: Run lint
run: pnpm lint
- name: Run build
run: pnpm build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}