Skip to content

Commit 06d3df6

Browse files
committed
fix(go to release): css pipeline
1 parent 350a5fc commit 06d3df6

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,16 @@ jobs:
119119
- name: Restore NuGet Packages for Specifically the BCL Package Library Project
120120
run: dotnet restore Package.BlazorComponentLibrary/Package.BlazorComponentLibrary.csproj
121121

122-
122+
- name: Set up Node.js so we have gulp for retrieving TEL Frontend Css
123+
uses: actions/setup-node@v4
124+
with:
125+
node-version: '20'
126+
127+
- name: Install npm packages so we have gulp for retrieving TEL Frontend Css
128+
working-directory: ./Package.BlazorComponentLibrary
129+
run: npm ci
130+
#CI is an install with adhering to package-lock
131+
123132
- name: Build and Pack BlazorComponentLibrary
124133
run: |
125134
dotnet build Package.BlazorComponentLibrary -c Release \

Package.BlazorComponentLibrary/Components/SimpleCounter.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<h3>Simple Counter</h3>
22
<h1 class="nhsuk-tag--red">!!!!!! If im red we are getting nhsuk-tag-red !!!!!!</h1>
3+
<h1 class="scoped-css-simple-counter-red">if im red we have scoped css (though for our scenario we probably will solely rely on nhsuk)</h1>
34
change
45
<b>version from build process</b>
56
<span class="version-display">@Package.BlazorComponentLibrary.BCLVersion.VersionInfo.Version</span>

Package.BlazorComponentLibrary/Components/SimpleCounter.razor.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
color: blue;
33
font-size: 24px;
44
}
5-
5+
.scoped-css-simple-counter-red {
6+
color: red;
7+
}
68
button {
79
background-color: lightblue;
810
color: white;

0 commit comments

Comments
 (0)