Skip to content

Commit

Permalink
fix: Missing build steps (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Jun 24, 2024
2 parents ecc3829 + 205a5ff commit 02bfb12
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/build-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,33 @@ jobs:
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 8.9.0
run_install: true

- name: Build
run: pnpm run --filter @impler/embed build:prod

- name: Build, tag, and push image to Github Container Registry
id: build-image
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/build-queuemanager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ jobs:
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github Container Registry
id: build-image
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ jobs:
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 8.9.0
run_install: true

- name: Build, tag, and push image to Github container registry
id: build-image
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/build-widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ jobs:
packages: write
deployments: write
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup kernel for react native, increase watchers
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v2
with:
node-version: '20.13.1'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
env:
CI: false
with:
version: 8.9.0
run_install: true

- name: Envsetup
working-directory: apps/widget
run: npm run envsetup
Expand Down

0 comments on commit 02bfb12

Please sign in to comment.