Skip to content

Commit

Permalink
build: Disable PR trigger for now, add publish command for algo-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Sep 25, 2024
1 parent ccb718c commit 9462dd1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:

jobs:
ci-algo-ts:
name: 'CI: algo-ts'
uses: ./.github/workflows/node-ci.yml
with:
node-version: 20.x
Expand All @@ -13,6 +14,7 @@ jobs:
upload-artifact-name: algo-ts
upload-artifact-path: ./packages/algo-ts/dist
ci-algo-ts-testing:
name: 'CI: algo-ts-testing'
uses: ./.github/workflows/node-ci.yml
needs:
- ci-algo-ts
Expand All @@ -27,6 +29,7 @@ jobs:
upload-artifact-name: algo-ts-testing
upload-artifact-path: ./packages/algo-ts-testing/dist
ci-puya-ts:
name: 'CI: puya-ts'
uses: ./.github/workflows/node-ci.yml
needs:
- ci-algo-ts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Pull Request
on:
pull_request:
branches:
- main
- main-disable-for-now
paths-ignore:
- 'docs/**'
- 'scripts/**'
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ jobs:
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Prepare @algorandfoundation/algo-ts
run: cp .releaserc.json artifacts/algo-ts/.releaserc.json

- name: Publish @algorandfoundation/algo-ts
run: npx semantic-release
working-directory: artifacts/algo-ts/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
},
{
"name": "release"
},
{
"name": "compiler-alpha",
"prerelease": "alpha"
}
],
"plugins": [
Expand Down

0 comments on commit 9462dd1

Please sign in to comment.