Skip to content

Commit

Permalink
Merge pull request #218 from Concordium/fix-ci-deployment
Browse files Browse the repository at this point in the history
Include web in built package.
  • Loading branch information
soerenbf authored Aug 8, 2023
2 parents 6047bd3 + 1a0803b commit 8c5e73f
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,17 @@ jobs:
with:
version: 'latest'

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- name: Get dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --immutable

- name: Build release
Expand All @@ -56,12 +66,11 @@ jobs:
with:
name: build-release
path: |
./node_modules/@concordium
./packages/rust-bindings/pkg
./packages/common/lib
./packages/nodejs/lib
./packages/common/grpc
./packages/nodejs/grpc
packages/*/lib
packages/*/grpc
packages/*/package.json
packages/*/README.md
packages/rust-bindings/pkg/*/concordium_rust_bindings*
build-typedoc:
runs-on: ubuntu-22.04
Expand All @@ -81,8 +90,11 @@ jobs:
with:
name: build-release

- name: Get dependencies
run: yarn install --immutable
- name: Restore cached dependencies
uses: actions/cache/restore@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}

- name: Generate typedoc documentation
run: yarn typedoc
Expand Down

0 comments on commit 8c5e73f

Please sign in to comment.