From 68ff69f9eb0f09157ecb9c0d98a211dccac028b5 Mon Sep 17 00:00:00 2001 From: Thang Vu Date: Tue, 25 Jul 2023 22:31:20 +0700 Subject: [PATCH] chore: upload turbo cache (#8128) * Update index.ts * Revert "Update index.ts" This reverts commit f494291c7385d50e5e8cba65258893925808fa43. * try this * Update release.yml * Update release.yml * try * Update turbo.json * Update release.yml * Update README.md * Revert "Update README.md" This reverts commit a5e56687e0bb60fcefb6c7a2f36d7135fb365e61. * Update pnpm-workspace.yaml --- .github/workflows/release.yml | 12 ++++++++++ package.json | 4 ++-- pnpm-lock.yaml | 44 +++++++++++++++++------------------ pnpm-workspace.yaml | 1 + 4 files changed, 37 insertions(+), 24 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 007d88da..0d39d225 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,6 +56,8 @@ on: - "adapter-upstash-redis" - "adapter-xata" - "next-auth" +env: + FORCE_COLOR: true jobs: test: @@ -75,6 +77,11 @@ jobs: cache: "pnpm" - name: Install dependencies run: pnpm install + - name: Build + run: pnpm build + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - name: Run tests run: pnpm test timeout-minutes: 15 @@ -83,6 +90,11 @@ jobs: UPSTASH_REDIS_KEY: ${{ secrets.UPSTASH_REDIS_KEY }} TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + - name: Upload Turbo artifacts + uses: actions/upload-artifact@v3 + with: + name: turbo-report + path: .turbo/runs/ # - name: Run E2E tests # if: github.repository == 'nextauthjs/next-auth' # run: pnpm e2e diff --git a/package.json b/package.json index e9db985c..af3aff56 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build:app": "turbo run build --filter=next-auth-app", "build:docs": "turbo run build --filter=docs", - "build": "turbo run build --filter=next-auth --filter=@next-auth/* --filter=@auth/* --no-deps", + "build": "turbo run build --filter=next-auth --filter=@next-auth/* --filter=@auth/* --no-deps --summarize", "test": "turbo run test --concurrency=1 --summarize --filter=[HEAD^1] --filter=./packages/* --filter=!@*upstash* --filter=!*dynamodb-* --filter=!*app*", "clean": "turbo run clean --no-cache", "dev:db": "turbo run dev --parallel --continue --filter=next-auth-app...", @@ -43,7 +43,7 @@ "eslint-plugin-svelte3": "^4.0.0", "prettier": "2.8.1", "prettier-plugin-svelte": "^2.8.1", - "turbo": "1.10.1", + "turbo": "^1.10.3", "typescript": "4.9.4" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e7282180..77f78e9c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: eslint-plugin-svelte3: ^4.0.0 prettier: 2.8.1 prettier-plugin-svelte: ^2.8.1 - turbo: 1.10.1 + turbo: ^1.10.3 typescript: 4.9.4 devDependencies: '@actions/core': 1.10.0 @@ -48,7 +48,7 @@ importers: eslint-plugin-svelte3: 4.0.0_eslint@8.30.0 prettier: 2.8.1 prettier-plugin-svelte: 2.8.1_prettier@2.8.1 - turbo: 1.10.1 + turbo: 1.10.11 typescript: 4.9.4 apps/dev/nextjs: @@ -27800,65 +27800,65 @@ packages: engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} dev: true - /turbo-darwin-64/1.10.1: - resolution: {integrity: sha512-isLLoPuAOMNsYovOq9BhuQOZWQuU13zYsW988KkkaA4OJqOn7qwa9V/KBYCJL8uVQqtG+/Y42J37lO8RJjyXuA==} + /turbo-darwin-64/1.10.11: + resolution: {integrity: sha512-pHNz6D5XUVB+bgZMKXIOegvH9GzPXucwgiHFatQcRoscAW1te1Zvn3fAWYo/mJ550AqPWQLmALZZel3z3lllLA==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.10.1: - resolution: {integrity: sha512-x1nloPR10fLElNCv17BKr0kCx/O5gse/UXAcVscMZH2tvRUtXrdBmut62uw2YU3J9hli2fszYjUWXkulVpQvFA==} + /turbo-darwin-arm64/1.10.11: + resolution: {integrity: sha512-j3yGAvkBu0BqR+5nb9LiRs8UZsUQDOqpdP4S9OW3+W5jorJIxUxLawwk3XqoYVGhmPh84LWWOOrMgFQ/Y/3WSg==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.10.1: - resolution: {integrity: sha512-abV+ODCeOlz0503OZlHhPWdy3VwJZc1jObf1VQj7uQM+JqJ/kXbMyqJIMQVz+m7QJUFdferYPRxGhYT/NbYK7Q==} + /turbo-linux-64/1.10.11: + resolution: {integrity: sha512-FZ+/VT3Yt188VvPuvqIwIyvosYALzu7e8ewxpl8yiYDwQbLwxMOEt2UKACsL+D7wzNtIMPRDxNmnhNvTbx9Afw==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.10.1: - resolution: {integrity: sha512-zRC3nZbHQ63tofOmbuySzEn1ROISWTkemYYr1L98rpmT5aVa0kERlGiYcfDwZh3cBso/Ylg/wxexRAaPzcCJYQ==} + /turbo-linux-arm64/1.10.11: + resolution: {integrity: sha512-IfxO8S1FiikunmUnlul1sd5piPlunU1QlnNNGFfhKJkMidkJ0rXsSbh2epn/pXO8RRPBnFRxYkp6gJz/FTUUTg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.10.1: - resolution: {integrity: sha512-Irqz8IU+o7Q/5V44qatZBTunk+FQAOII1hZTsEU54ah62f9Y297K6/LSp+yncmVQOZlFVccXb6MDqcETExIQtA==} + /turbo-windows-64/1.10.11: + resolution: {integrity: sha512-5qwTEk27duxYIsDycgZdpti1b41Xu2D3W+WRlg++sylwqhAgcPhfcppXMGd70h/SScgIh7IeLjzgTK7+YPE77g==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.10.1: - resolution: {integrity: sha512-124IT15d2gyjC+NEn11pHOaVFvZDRHpxfF+LDUzV7YxfNIfV0mGkR3R/IyVXtQHOgqOdtQTbC4y411sm31+SEw==} + /turbo-windows-arm64/1.10.11: + resolution: {integrity: sha512-FGvWCWvii4PZqy+4VBoanKaMkqeRD146iHL67YpY5sp8z5H/Gkywtu8xxBbkgP14lBr6fAsyRarHBuR+c52cDg==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.10.1: - resolution: {integrity: sha512-wq0YeSv6P/eEDXOL42jkMUr+T4z34dM8mdHu5u6C6OOAq8JuLJ72F/v4EVR1JmY8icyTkFz10ICLV0haUUYhbQ==} + /turbo/1.10.11: + resolution: {integrity: sha512-6GzYbsG5Ro6dK62dJuBjA53RdpMr1PWVwN6ZZRSMgYgkvFmNDMwxzJUKuCSi+jfDSt6avwT7koNlwRPfgTFuOw==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.10.1 - turbo-darwin-arm64: 1.10.1 - turbo-linux-64: 1.10.1 - turbo-linux-arm64: 1.10.1 - turbo-windows-64: 1.10.1 - turbo-windows-arm64: 1.10.1 + turbo-darwin-64: 1.10.11 + turbo-darwin-arm64: 1.10.11 + turbo-linux-64: 1.10.11 + turbo-linux-arm64: 1.10.11 + turbo-windows-64: 1.10.11 + turbo-windows-arm64: 1.10.11 dev: true /tweetnacl/0.14.5: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3764a361..fd7036ba 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,4 @@ packages: - "packages/*" - "apps/dev/*" - "docs" + \ No newline at end of file