Skip to content

Commit

Permalink
Merge pull request #1709 from o1-labs/feat/continuous-releases
Browse files Browse the repository at this point in the history
Continuous releases on pkg-pr-new.
  • Loading branch information
shimkiv authored Jun 28, 2024
2 parents 72b8e2c + 51a61a9 commit 0ee6e01
Show file tree
Hide file tree
Showing 5 changed files with 1,525 additions and 7 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/pkg-pr-new-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#
# https://github.com/stackblitz-labs/pkg.pr.new
#

name: Continuous releases on pkg-pr-new
on:
push:
branches:
- main
workflow_dispatch: {}

jobs:
pkg-pr-new-o1js:
strategy:
matrix:
node: [20]
runs-on: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build o1js
run: |
git submodule update --init --recursive
npm ci
npm run build
- name: Publish o1js on pkg-pr-new
run: npx pkg-pr-new publish --compact
pkg-pr-new-mina-signer:
strategy:
matrix:
node: [20]
runs-on: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build mina-signer
run: |
git submodule update --init --recursive
npm ci
cd src/mina-signer
npm ci
npm run prepublishOnly
- name: Publish mina-signer on pkg-pr-new
run: npx pkg-pr-new publish --compact
Loading

0 comments on commit 0ee6e01

Please sign in to comment.