Skip to content

Commit

Permalink
Merge pull request #361 from Concordium/fix-deployments
Browse files Browse the repository at this point in the history
Fix deployments
  • Loading branch information
rasmus-kirk authored May 17, 2024
2 parents c1e311f + 3b265b2 commit b54ea78
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/deploy-ccd-js-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/deploy-rust-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b54ea78

Please sign in to comment.