Skip to content

Commit

Permalink
chore: add tests (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Urban Vidovič <urbanfoundit@gmail.com>
  • Loading branch information
pseudobun committed Oct 8, 2024
1 parent 67c6ae5 commit a412fe4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-rockets-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"swaylend-v2": patch
---

Adds some functionality
25 changes: 22 additions & 3 deletions .github/workflows/release-dapp.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release dapp
name: Release dapp and Sync develop

on:
push:
branches:
- develop
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down Expand Up @@ -31,4 +31,23 @@ jobs:
commit: 'chore: dapp release'
publish: npx @changesets/cli tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

sync:
name: Sync develop
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: develop
- name: Git config
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Sync
run: |
git checkout develop
git merge main --ff-only
git push origin develop

0 comments on commit a412fe4

Please sign in to comment.