Skip to content

Commit

Permalink
Merge pull request #1711 from o1-labs/fix/pkg-pr-new-publish-mina-signer
Browse files Browse the repository at this point in the history
Fix for mina-signer pkg-pr-new-publish CI job
  • Loading branch information
shimkiv committed Jun 29, 2024
2 parents 647c7e5 + f726c93 commit 6c52fea
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/pkg-pr-new-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch: {}

jobs:
pkg-pr-new-o1js:
pkg-pr-new:
strategy:
matrix:
node: [20]
Expand All @@ -22,31 +22,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build o1js
- name: Build o1js and mina-signer
run: |
git submodule update --init --recursive
npm ci
npm run build
- name: Publish o1js on pkg-pr-new
run: npx pkg-pr-new publish # Enable `--compact` once published to NPM with `repository` in package.json
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 # Enable `--compact` once published to NPM with `repository` in package.json
- name: Publish o1js and mina-signer on pkg-pr-new
run: npx pkg-pr-new publish ./ ./src/mina-signer # Enable `--compact` once published to NPM with `repository` in package.json

0 comments on commit 6c52fea

Please sign in to comment.