Skip to content

Commit 390ccd9

Browse files
Update main_ourumbraco.yml
1 parent f0ed528 commit 390ccd9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main_ourumbraco.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@ jobs:
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: 22
34-
- name: Install gulp
35-
working-directory: ./OurUmbraco.Client
36-
run: npm install gulp
37-
- name: Install helpers
34+
- name: Install npm 8 instead of 10 so we can set the Python version
35+
working-directory: ./OurUmbraco.Client
36+
run: npm install npm@^8
37+
- name: Set npm Python version to 3
3838
working-directory: ./OurUmbraco.Client
39-
run: npm install --save-dev jshint gulp-jshint
39+
run: npm config set python python3
40+
- name: Install npm prerequisites node-gyp
41+
working-directory: ./OurUmbraco.Client
42+
run: npm install node-gyp gulp jshint gulp-jshint
4043
- name: npm install
4144
working-directory: ./OurUmbraco.Client
4245
run: npm install

0 commit comments

Comments
 (0)