Skip to content

Commit 1209e63

Browse files
KittyChiuCopilotCopilot
authored
Replaced snap install (#72)
* fix: replaced snap install with curl * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: pin DART_SASS_VERSION in npm install to make CI builds deterministic Agent-Logs-Url: https://github.com/github/github-well-architected/sessions/289e0064-50a6-409d-b6fd-f3058ee3dff9 Co-authored-by: KittyChiu <42864823+KittyChiu@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 69113aa commit 1209e63

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
CI: development
1616
SITE_DIR: public
1717
HUGO_VERSION: 0.151.0
18+
DART_SASS_VERSION: 1.99.0
1819

1920
jobs:
2021
lint:
@@ -77,13 +78,16 @@ jobs:
7778
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
7879
sudo dpkg -i ${{ runner.temp }}/hugo.deb
7980
hugo version
80-
- name: Install Dart Sass
81-
run: sudo snap install dart-sass
8281
8382
- uses: actions/setup-node@v6
8483
with:
8584
node-version: lts/*
8685

86+
- name: Install Dart Sass
87+
run: |
88+
npm install -g sass@${DART_SASS_VERSION}
89+
sass --version
90+
8791
- name: Install test dependencies
8892
run: |
8993
# Clean install of the node modules

0 commit comments

Comments
 (0)