Skip to content

Bump @types/node from 22.10.1 to 22.10.2 #134

Bump @types/node from 22.10.1 to 22.10.2

Bump @types/node from 22.10.1 to 22.10.2 #134

Workflow file for this run

name: Lint + Test
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
Test-and-lint:
runs-on: ubuntu-latest
name: Lint + Test
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Corepack enable
shell: bash
run: corepack enable
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-cache-
- name: install dependencies
run: pnpm install
- name: lint
run: pnpm run lint
- name: test
run: pnpm run test