Skip to content

chore(deps-dev): bump @antfu/eslint-config from 2.6.2 to 2.7.0 #69

chore(deps-dev): bump @antfu/eslint-config from 2.6.2 to 2.7.0

chore(deps-dev): bump @antfu/eslint-config from 2.6.2 to 2.7.0 #69

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- run: pnpm install
- run: pnpm lint
- run: pnpm test:coverage
- run: pnpm build
- uses: codecov/codecov-action@v3
- if: github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release)')
run: pnpm publish -q --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
dependabot:
name: Dependabot
needs: [ci]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}