Skip to content

build(deps-dev): bump the dependencies group with 2 updates #298

build(deps-dev): bump the dependencies group with 2 updates

build(deps-dev): bump the dependencies group with 2 updates #298

Workflow file for this run

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.1.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Commit
run: |
cd dist
git init
git config user.name github-actions
git config user.email github-actions@github.com
git add -A
git commit -m "deploy"
- name: Deploy
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: dist