Skip to content

bump: yarn to 1.22.22 #69

bump: yarn to 1.22.22

bump: yarn to 1.22.22 #69

Workflow file for this run

name: Dependabot auto-merge
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Fetch metadata
uses: dependabot/[email protected]
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.SECRET_PAT }}
- name: Use node.js 12.x
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: fetch yarn repo
run: ./fetch-yarn.sh
env:
PR_HEAD: ${{ github.event.pull_request.head.ref }}
- name: build library distribution
run: ./build-lib-dist.sh
- name: publish to npm
run: ./publish-to-npm.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Enable the automerge using a PAT so the merge commits trigger workflows
- name: Auto-merge
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.SECRET_PAT }}