forked from algorand/avm-debugger
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52ac67d
commit dceff7f
Showing
8 changed files
with
1,889 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Run Tests | ||
on: | ||
push: | ||
branches: | ||
branches-ignore: | ||
- main | ||
pull_request: | ||
workflow_call: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.