From 3b265b2490f51450dc7609037f7c43fc7e0c94cc Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Fri, 17 May 2024 11:10:54 +0200 Subject: [PATCH] Fix deployments --- .github/workflows/deploy-ccd-js-gen.yml | 8 +++++++- .github/workflows/deploy-rust-bindings.yml | 8 +++++++- .github/workflows/deploy-sdk.yml | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) 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: