Skip to content

chore(deps): bump @types/node from 18.16.2 to 20.14.2 #1212

chore(deps): bump @types/node from 18.16.2 to 20.14.2

chore(deps): bump @types/node from 18.16.2 to 20.14.2 #1212

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request_target:
jobs:
test:
runs-on: ubuntu-latest
env:
NOTION_KEY: ${{ secrets.NOTION_KEY }}
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
CLOUDINARY_NAME: ${{ secrets.CLOUDINARY_NAME }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
PREVIEW_API_SECRET: ${{ secrets.PREVIEW_API_SECRET }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Check type
run: npm run type-check
- name: Lint
run: npm run lint
- name: Format
run: npm run format
auto-merge-dependabot:
runs-on: ubuntu-latest
needs: test
permissions:
pull-requests: write
contents: write
if: ${{ github.event_name == 'pull_request_target' && github.base_ref == 'dependabot-target' && github.actor == 'dependabot[bot]' && needs.test.result == 'success' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Auto merge dependabot PR
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' }}
run: gh pr merge --auto --merge "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}