Skip to content

Update eslint requirement from ^8.47.0 to ^8.54.0 in /packages/main #307

Update eslint requirement from ^8.47.0 to ^8.54.0 in /packages/main

Update eslint requirement from ^8.47.0 to ^8.54.0 in /packages/main #307

Workflow file for this run

name: build pull request
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- id: node-modules-cache
uses: actions/cache@v3
with:
path: |
node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: node-modules-
- run: npm i
- run: npm ci
- run: npm run lint
- run: npm run build
merge-dependabot:
needs: build
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{ github.token }}