Skip to content

Commit

Permalink
Merge pull request #26 from jsonresume/feature/verify-dev-script-from…
Browse files Browse the repository at this point in the history
…-readme

feat: verify that command from readme works correctly
  • Loading branch information
thomasdavis authored Nov 27, 2023
2 parents ebb20bf + 390f8b6 commit f8f1fa6
Show file tree
Hide file tree
Showing 4 changed files with 215 additions and 22 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
cache: pnpm
- run: pnpm install
- run: pnpm turbo lint prettier
dev-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm start-server-and-test 'turbo dev --filter=registry' 3002 'exit 0;'
working-directory: apps/registry
build:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ pnpm i
To start them all;

```
pnpm dev
pnpm turbo dev
```

To start an individual app;

```
pnpm dev --filter=registry
pnpm turbo dev --filter=registry
```

**Environment variables**:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"eslint": "^7.32.0",
"eslint-config-custom": "workspace:*",
"prettier": "^2.5.1",
"start-server-and-test": "^2.0.3",
"turbo": "^1.9.6"
},
"packageManager": "[email protected]",
Expand Down
Loading

2 comments on commit f8f1fa6

@vercel
Copy link

@vercel vercel bot commented on f8f1fa6 Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on f8f1fa6 Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.