.github/workflows/main.yml
name: CI Build
on:
pull_request: {}
push:
branches:
- master
tags:
- v*
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
with:
node-version: 16.x
- run: yarn
- run: yarn test
automerge:
needs: [test]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3.2.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}