Skip to content

Commit 278c165

Browse files
Merge main into release
2 parents 1594250 + 9fc3233 commit 278c165

File tree

8 files changed

+7979
-2055
lines changed

8 files changed

+7979
-2055
lines changed

.github/workflows/cd.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release
8+
workflow_dispatch:
9+
10+
concurrency: release
11+
12+
permissions:
13+
contents: write
14+
issues: read
15+
16+
jobs:
17+
ci:
18+
name: Continuous Integration
19+
uses: ./.github/workflows/ci.yaml
20+
21+
release:
22+
name: Release
23+
needs: ci
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Clone repository
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- name: Use Node.js 20.x
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: 20.x
35+
36+
- name: Install dependencies and build
37+
run: npm ci && npm run build
38+
39+
- name: 'Semantic release'
40+
run: npx semantic-release
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
name: Run Tests
22
on:
33
push:
4-
branches:
4+
branches-ignore:
55
- main
66
pull_request:
7+
workflow_call:
78
jobs:
89
test:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
fail-fast: false
1213
matrix:
1314
os: [ubuntu-latest, windows-latest]
14-
node-version: ['18']
15+
node-version: ['20']
1516
steps:
1617
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1819
with:
1920
node-version: ${{ matrix.node-version }}
2021
- run: npm ci
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Prod Publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
prod_release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Clone repository
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
- name: Merge main -> release
18+
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
19+
with:
20+
type: now
21+
from_branch: main
22+
target_branch: release
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
- name: Merge release -> main
25+
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f
26+
with:
27+
type: now
28+
from_branch: release
29+
target_branch: main
30+
message: Merge release back to main to get version increment [no ci]
31+
github_token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AVM Debugger
1+
# AlgoKit AVM Debugger
22

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

0 commit comments

Comments
 (0)