Skip to content

chore(deps): bump execa from 5.1.1 to 7.1.1 #7249

chore(deps): bump execa from 5.1.1 to 7.1.1

chore(deps): bump execa from 5.1.1 to 7.1.1 #7249

name: test-and-publish
on:
push:
pull_request_target:
types: [opened, synchronize, edited]
status: {}
jobs:
build-test-merge-publish:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
if: github.event_name == 'push'
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: bbeesley/build-test-merge-publish@main
with:
main-branch: main
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PA_TOKEN }}
lint-commits:
runs-on: ubuntu-latest
if: ${{ (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') || (github.ref != 'refs/heads/main' && github.event_name == 'push') }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- name: install
run: npm ci
- name: commitlint
run: ./node_modules/.bin/commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD