Skip to content

Commit

Permalink
Update weblets workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedHanafy725 committed Jun 20, 2023
1 parent 75cf922 commit fbec810
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/weblets_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"

strategy:
matrix:
Expand All @@ -44,6 +42,8 @@ jobs:
yarn install
- name: Build
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"
run: |
lerna run build --no-private
cd packages/weblets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weblets_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ concurrency:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"

strategy:
matrix:
Expand All @@ -46,6 +44,8 @@ jobs:
yarn install
- name: Build in case development
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"
run: |
lerna run build --no-private
cd packages/weblets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weblets_cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
cypress-run:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"
strategy:
matrix:
node-version: [18.x]
Expand All @@ -35,6 +33,8 @@ jobs:
echo '${{ secrets.TFCHAIN_MNEMONICS }}' > packages/weblets/cypress.env.json
- name: Cypress run
uses: cypress-io/github-action@v5.7.1
env:
NODE_OPTIONS: "--max-old-space-size=8192 --openssl-legacy-provider"
with:
browser: chrome
start: yarn workspace @threefold/weblets serve:app
Expand Down

0 comments on commit fbec810

Please sign in to comment.