Skip to content

Commit

Permalink
Merge main into release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 13, 2025
2 parents 1594250 + 9fc3233 commit 278c165
Show file tree
Hide file tree
Showing 8 changed files with 7,979 additions and 2,055 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Publish

on:
push:
branches:
- main
- release
workflow_dispatch:

concurrency: release

permissions:
contents: write
issues: read

jobs:
ci:
name: Continuous Integration
uses: ./.github/workflows/ci.yaml

release:
name: Release
needs: ci
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install dependencies and build
run: npm ci && npm run build

- name: 'Semantic release'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: Run Tests
on:
push:
branches:
branches-ignore:
- main
pull_request:
workflow_call:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node-version: ['18']
node-version: ['20']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/prod_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Prod Publish

on:
workflow_dispatch:

permissions:
contents: write

jobs:
prod_release:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Merge main -> release
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
with:
type: now
from_branch: main
target_branch: release
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge release -> main
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
with:
type: now
from_branch: release
target_branch: main
message: Merge release back to main to get version increment [no ci]
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AVM Debugger
# AlgoKit AVM Debugger

![GitHub Actions Workflow](https://github.com/algorand/avm-debugger/actions/workflows/ci.yml/badge.svg)
[![npm version](https://badge.fury.io/js/avm-debug-adapter.svg)](https://www.npmjs.com/package/avm-debug-adapter)
Expand Down
Loading

0 comments on commit 278c165

Please sign in to comment.