Skip to content

Commit

Permalink
Show npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkStega committed Nov 11, 2020
1 parent c3ddf09 commit 13e9936
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/GithubActionsWIP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ jobs:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v2

- name: revert to Node 12
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Show npm version
run: npm --version

# We really want to setup .Net 5 here, but DocFx fails

Expand Down
4 changes: 4 additions & 0 deletions Material.Blazor/Material.Blazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
<OutputStaticAssetsStyles Include="wwwroot\bundled.min.css;wwwroot\unbundled.min.css;wwwroot\unbundled.css" />
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<!-- The NpmReturnCode parameter value is preset to 0 in the PropertyGroup -->
<Target Name="CheckIfNpmExists" Inputs="@(InputStaticAssetsScripts);@(InputStaticAssetsStyles)" Outputs="@(OutputStaticAssetsScripts);@(OutputStaticAssetsStyles)" BeforeTargets="PreBuildEvent">
<Exec Command="echo ***** npm install" />
Expand Down
2 changes: 1 addition & 1 deletion Material.Blazor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 13e9936

Please sign in to comment.