Skip to content

Commit

Permalink
fix: build process
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed May 5, 2024
1 parent 7b39866 commit 5cc8e72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ jobs:
with:
version: ${{ env.pnpm_version }}
- run: pnpm install

- run: pnpm build

- name: pnpm install again for ensure the cli is available
run: pnpm install

- name: Build the project
run: pnpm exec nx run @examples/with-${{ matrix.runtime }}:build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "nx run-many -t lint --projects nammatham @infra/* --parallel=10",
"lint:fix": "nx run-many -t lint:fix --projects nammatham @infra/* --parallel=10",
"lint:fix:watch": "nodemon --watch . --ext ts --exec 'sleep 3 && run-s lint:fix'",
"build": "nx run-many -t build --parallel=10",
"build": "nx run nammatham:build",
"azurite": "pnpx azurite --silent --location ./.azurite --debug ./.azurite/debug.log",
"infra": "nx run @infra/azure-functions:start"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "npm run build",
"build": "tsup src/main.ts --dts --format esm",
"build": "run-s build:*",
"build:package": "tsup src/main.ts --dts --format esm",
"build:cli": "tsup src/cli.ts --dts --format esm",
"format": "prettier -w src",
"lint": "tsc --noEmit && eslint ./src && prettier -c src",
"lint:fix": "eslint --fix ./src && prettier -w src",
"dev": "nodemon --watch src --ext ts --exec 'run-p build build:cli'"
"dev": "nodemon --watch src --ext ts --exec 'run-s build'"
},
"keywords": [
"azure-functions",
Expand Down

0 comments on commit 5cc8e72

Please sign in to comment.