Skip to content

Commit

Permalink
build: Test release
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Sep 27, 2024
1 parent ff3357d commit 312e32a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- compiler-alpha
paths-ignore:
- 'docs/**'
- 'scripts/**'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,14 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: artifacts/algo-ts/package.json
access: 'public'

- run: echo "type ${{ steps.publish-algo-ts.outputs.type }} name ${{ steps.publish-algo-ts.outputs.name }} version ${{ steps.publish-algo-ts.outputs.version }}"
dry-run: true

- name: Update puya-ts' peer dependency on algo-ts
run: npx tsx ../../scripts/update-algo-ts-peer-dep.ts ${{ steps.publish-algo-ts.outputs.version }}
working-directory: artifacts/puya-ts

- name: Publish @algorandfoundation/puya-ts
run: npx semantic-release

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@algorandfoundation/puya-ts",
"version": "1.0.0",
"description": "",
"private": false,
"types": "src/index.ts",
"scripts": {
"postinstall": "npx patch-package",
Expand Down
1 change: 1 addition & 0 deletions packages/algo-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@algorandfoundation/algorand-typescript",
"version": "0.0.1-alpha.1",
"description": "",
"private": false,
"main": "index.js",
"types": "src/index.ts",
"scripts": {
Expand Down

0 comments on commit 312e32a

Please sign in to comment.