diff --git a/.github/workflows/pkg-pr-new-publish.yml b/.github/workflows/pkg-pr-new-publish.yml index 5af8b2b8e3..f075ad0da6 100644 --- a/.github/workflows/pkg-pr-new-publish.yml +++ b/.github/workflows/pkg-pr-new-publish.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: {} jobs: - pkg-pr-new-o1js: + pkg-pr-new: strategy: matrix: node: [20] @@ -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