Skip to content

Commit

Permalink
trying to fix some yarn.lock issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed May 8, 2024
1 parent 3d78462 commit 1e01e42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-monorepo-action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test build in monorepo
env:
YARN_ENABLE_HARDENED_MODE: 0
REACT_NATIVE_TEMPLATE: ${{ inputs.react_native_version && '--version' || '' }} ${{ inputs.react_native_version }}
on:
workflow_call:
Expand Down Expand Up @@ -44,6 +45,8 @@ jobs:
echo '{"name":"rnos-monorepo-tester","version":"1.0.0","license":"MIT","private":true,"workspaces":{"packages":["RootApp","packages/PackageApp", "AppA", "AppB"],"nohoist":["**/react","**/react-dom","**/react-native","**/react-native/**","**/react-native-codegen","**/react-native-dev-menu"]}}' > package.json
yarn
- name: Echo yarn version
run: yarn --version
- name: Install dependencies for RootApp
working-directory: monorepo/RootApp
run: yarn install
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-v8-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
java-version: "17"
- name: Create React Native app
run: npx react-native init app
- name: Setup Yarn lockfile
working-directory: app
run: touch yarn.lock
- name: Install dependencies
working-directory: app
run: yarn install
Expand Down

0 comments on commit 1e01e42

Please sign in to comment.