Skip to content

Commit

Permalink
add automerging updates
Browse files Browse the repository at this point in the history
  • Loading branch information
langalex committed Dec 19, 2024
1 parent 8aa5ca8 commit 1c3399e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,31 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Check formatting
run: yarn lint

- name: Run tests
run: |
yarn build
yarn test
yarn validate
automerge:
needs: test
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
target: minor

0 comments on commit 1c3399e

Please sign in to comment.