diff --git a/.github/workflows/deploy-ccd-js-gen.yml b/.github/workflows/deploy-ccd-js-gen.yml index 0aeaf21ee..25f8ac704 100644 --- a/.github/workflows/deploy-ccd-js-gen.yml +++ b/.github/workflows/deploy-ccd-js-gen.yml @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - environment: deploy-ccd-js-gen + environment: deploy steps: - name: Checkout sources uses: actions/checkout@v4 @@ -121,6 +121,12 @@ jobs: packages/* draft: true + - uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + cache: yarn + registry-url: 'https://registry.npmjs.org' + - name: Publish to NPM run: npm publish --workspace packages/ccd-js-gen env: diff --git a/.github/workflows/deploy-rust-bindings.yml b/.github/workflows/deploy-rust-bindings.yml index 1dbe93690..99b50882e 100644 --- a/.github/workflows/deploy-rust-bindings.yml +++ b/.github/workflows/deploy-rust-bindings.yml @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - environment: deploy-rust-bindings + environment: deploy steps: - name: Checkout sources uses: actions/checkout@v4 @@ -121,6 +121,12 @@ jobs: packages/* draft: true + - uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + cache: yarn + registry-url: 'https://registry.npmjs.org' + - name: Publish to NPM run: npm publish --workspace packages/rust-bindings env: diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index 47a4a408c..5cd198bd1 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -157,7 +157,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - environment: deploy-sdk + environment: deploy steps: - name: Checkout sources uses: actions/checkout@v4 @@ -186,6 +186,12 @@ jobs: packages/* draft: true + - uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + cache: yarn + registry-url: 'https://registry.npmjs.org' + - name: Publish to NPM run: npm publish --workspace packages/sdk env: