Skip to content

chore(deps-dev): bump typescript from 5.5.3 to 5.6.2 #292

chore(deps-dev): bump typescript from 5.5.3 to 5.6.2

chore(deps-dev): bump typescript from 5.5.3 to 5.6.2 #292

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: get-store-dir
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.get-store-dir.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install
- run: pnpm run lint
- run: pnpm run typecheck
auto-merge:
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
needs: build-and-test
env:
token: ${{ secrets.DEPENDABOT_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Check if secrets.DEPENDABOT_TOKEN is set
if: ${{ env.token == '' }}
run: exit 1
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
command: squash and merge
# https://github.com/ahmadnassri/action-dependabot-auto-merge#token-scope
github-token: ${{ env.token }}