Skip to content

Commit

Permalink
Create an all-in-one build script in package.json and use that in the…
Browse files Browse the repository at this point in the history
… GitHub Action
  • Loading branch information
omervk committed Feb 25, 2024
1 parent 18c70bb commit 931f2a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run generate --workspace=@gamgee/design
- run: npm run build --workspace=@gamgee/design
- run: npm run generate
- run: npm run build
- run: npm test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"description": "An embedded durable execution engine for TypeScript",
"main": "index.ts",
"scripts": {
"build": "npm run build --workspaces",
"build": "npm run generate --workspace=@gamgee/design && npm run build --workspace=@gamgee/design && npm run generate --workspaces --if-present && npm run build --workspaces",
"test": "npm run test --workspaces --if-present",
"generate": "npm run generate --workspaces --if-present",
"lint": "npm run lint --workspaces"
},
"author": "Omer van Kloeten",
Expand Down

0 comments on commit 931f2a1

Please sign in to comment.