Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Temp/turborepo pre upgrade debug #7792

Closed
wants to merge 8 commits into from
2 changes: 1 addition & 1 deletion libs/ui/examples/next.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "echo '[DEBUG]: pnpm list:' && pnpm list && echo '[DEBUG]: done' && echo '[DEBUG]: pnpm show @next/env:' && pnpm show @next/env && echo '[DEBUG]: done' && next build",
"start": "next start",
"serve": "next start -p 8080",
"lint": "next lint",
Expand Down
3 changes: 2 additions & 1 deletion libs/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"lint-staged": "^14.0.0"
},
"scripts": {
"dummy": "echo 'dummy'",
"pretest:react": "playwright install",
"test:react": "node tests/react.script webpack.js && node tests/react.script next.js",
"test:react": "echo '[DEBUG]: pnpm list' && pnpm list && echo '[DEBUG]: done' && node tests/react.script webpack.js && node tests/react.script next.js",
"pretest:react:update-snapshots": "playwright install",
"test:react:update-snapshots": "env UPDATE_SNAPSHOTS=1 node tests/react.script webpack.js && env UPDATE_SNAPSHOTS=1 node tests/react.script next.js"
}
Expand Down
27 changes: 0 additions & 27 deletions tools/actions/composites/setup-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,6 @@ runs:
role-to-assume: arn:aws:iam::${{ inputs.accountId }}:role/${{ inputs.roleName }}
aws-region: ${{ inputs.region }}

- name: Cache pnpm store
uses: tespkg/actions-cache@v1
if: steps.aws.conclusion == 'success' && inputs.skip-pnpm-cache != 'true'
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
accessKey: ${{ env.AWS_ACCESS_KEY_ID }}
secretKey: ${{ env.AWS_SECRET_ACCESS_KEY }}
sessionToken: ${{ env.AWS_SESSION_TOKEN }}
bucket: ll-gha-s3-cache
region: ${{ inputs.region }}
use-fallback: false

- uses: actions/setup-node@v4
with:
node-version: 20.11.0
Expand All @@ -90,18 +75,6 @@ runs:
npm i -g npm
shell: bash

- name: TurboRepo local caching server
id: turborepo-cache-server
if: steps.aws.conclusion == 'success' && inputs.skip_turbo_cache != 'true'
uses: LedgerHQ/ledger-live/tools/actions/turborepo-s3-cache@develop
with:
server-token: "${{ inputs.turbo-server-token }}"
cleanup-cache-folder: "true"
aws-access-key: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ env.AWS_SESSION_TOKEN }}
region: ${{ inputs.region }}

- name: Cache LLM pods
uses: actions/cache@v3
if: inputs.skip-pod-cache != 'true'
Expand Down
Loading