forked from vercel/turborepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to core monorepo to pnpm (vercel#810)
- Loading branch information
1 parent
92befb5
commit fd17151
Showing
21 changed files
with
8,998 additions
and
9,706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,22 +27,27 @@ jobs: | |
go-version: 1.17.6 | ||
id: go | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
with: | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
node-version: 16 | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build & Unit Test | ||
run: yarn turbo run test --scope=cli | ||
run: pnpm turbo run test --scope=cli | ||
|
||
- name: Lint | ||
run: yarn turbo run lint --scope=cli | ||
run: pnpm turbo run lint --scope=cli | ||
|
||
- name: E2E Tests | ||
run: | | ||
npm install -g pnpm | ||
cd cli && make e2e | ||
- name: Benchmark and Smoke Tests | ||
|
@@ -68,12 +73,15 @@ jobs: | |
go-version: 1.17.6 | ||
id: wingo | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
with: | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
node-version: 16 | ||
cache: pnpm | ||
|
||
- name: go test | ||
run: cd cli && go test ./cmd/... ./internal/... | ||
|
@@ -85,9 +93,7 @@ jobs: | |
run: cd cli && go build ./cmd/turbo/... | ||
|
||
- name: E2E Tests | ||
run: | | ||
npm install -g pnpm | ||
cd cli && make e2e | ||
run: cd cli && make e2e | ||
|
||
- name: Benchmark and Smoke Tests | ||
run: cd cli && make bench/turbo | ||
|
@@ -125,14 +131,15 @@ jobs: | |
go-version: 1.17.6 | ||
id: go | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
with: | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
node-version: 16 | ||
|
||
- run: npm i -g pnpm | ||
cache: pnpm | ||
|
||
- name: Check examples | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: Large Repo Benchmark | ||
|
||
on: | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
|
@@ -25,17 +25,24 @@ jobs: | |
go-version: 1.17.6 | ||
id: go | ||
|
||
- name: Build | ||
run: cd cli && make turbo | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 6.32.2 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: pnpm | ||
|
||
- name: Build | ||
run: cd cli && make turbo | ||
|
||
- name: Install dependencies | ||
run: cd benchmark && yarn | ||
run: pnpm install --filter=benchmark | ||
|
||
- name: Run benchmarks | ||
run: cd benchmark && yarn benchmark | ||
run: cd benchmark && pnpm benchmark | ||
|
||
- name: Store Benchmark Result | ||
uses: benchmark-action/github-action-benchmark@v1 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.