Skip to content

Commit

Permalink
chore(repo): pull restore out of prepare script
Browse files Browse the repository at this point in the history
We use different versions of dotnet in our smoke tests, which was causing failures for the .NET 6 matricies as our demo project targets .NET 7. This pulls `dotnet restore` out of the smoke test script. Since it uses the published versions of nx and our plugins it does not need to build our packages. For workflows that do need to build our packages, restore is ran automatically as part of the build.
  • Loading branch information
AgentEnder committed Feb 28, 2023
1 parent 71f6893 commit 4a15c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nx-dotnet",
"license": "MIT",
"scripts": {
"prepare": "husky install && nx g @nx-dotnet/core:restore",
"prepare": "husky install",
"lint-staged": "lint-staged",
"e2e": "ts-node -P ./tools/scripts/tsconfig.e2e.json ./tools/scripts/e2e.ts",
"semantic-release": "semantic-release",
Expand Down

0 comments on commit 4a15c25

Please sign in to comment.