Skip to content

Commit

Permalink
ci: Add node and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
data-miner00 committed Mar 2, 2024
1 parent 9957353 commit 1a73a4f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Pnpm
run: npm i -g pnpm
- name: Restore Node dependencies
run: pnpm i
- name: Copy Bootstrap Icon to lib folder
shell: pwsh
working-directory: ./src/Linker.Mvc
run: ./Scripts/Copy-FolderItems.ps1 -SourceFolder ./node_modules/bootstrap-icons/font/* -DestinationFolder ./wwwroot/lib/bootstrap-icon/
- name: Copy jQuery to lib folder
shell: pwsh
working-directory: ./src/Linker.Mvc
run: ./Scripts/Copy-FolderItems.ps1 -SourceFolder ./node_modules/jquery/dist/* -DestinationFolder ./wwwroot/lib/jquery/
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
Expand Down

0 comments on commit 1a73a4f

Please sign in to comment.