Bump @babel/traverse from 7.22.5 to 7.23.2 (#40) #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'build-test' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
pull_request_target: | |
push: | |
branches: | |
- master | |
- 'releases/*' | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: npm install | |
- name: Build the action. | |
run: | | |
npm run all | |
- name: Commit the dist directory. | |
if: ${{ github.event_name == 'push' }} | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
file_pattern: "dist/*" | |
commit_user_name: github-actions[bot] | |
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com | |
commit_message: "[BOT] Update dist folder." | |
add_options: '-u' | |
auto_merge: | |
needs: [ build ] | |
runs-on: ubuntu-latest | |
if: | | |
github.event_name == 'pull_request' && | |
(github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]') | |
steps: | |
- name: "@dependabot merge" | |
uses: actions/github-script@v3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
github.issues.createComment({ | |
owner: context.payload.repository.owner.login, | |
repo: context.payload.repository.name, | |
issue_number: context.payload.pull_request.number, | |
body: '@dependabot merge' | |
}) |