Skip to content

Commit

Permalink
Make projects release sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv authored Jun 29, 2024
1 parent e23eae6 commit 4e6b85f
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/pkg-pr-new-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,29 @@ on:
workflow_dispatch: {}

jobs:
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
pkg-pr-new-o1js:
needs: [pkg-pr-new-mina-signer]
strategy:
matrix:
node: [20]
Expand All @@ -29,24 +51,3 @@ jobs:
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

0 comments on commit 4e6b85f

Please sign in to comment.