Skip to content

Commit 9bd22b9

Browse files
authored
4
1 parent eceefa4 commit 9bd22b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/azure-webapps-node.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,23 @@ jobs:
4747
"npm": "10.x"
4848
},
4949
"scripts": {
50-
"start": "npx serve -s . -p $PORT"
50+
"start": "serve -s . -p $PORT"
5151
},
5252
"dependencies": {
5353
"serve": "^14.2.4"
5454
}
5555
}
5656
EOF
5757
58-
- name: Install production dependencies
58+
- name: Install production dependencies in dist
5959
run: |
6060
cd dist
61-
npm install --only=production
61+
npm install --production
6262
6363
# Verify serve installation
6464
echo "Verifying serve installation:"
65+
ls -la node_modules/.bin/
6566
npx serve --version
66-
ls -la node_modules/.bin/serve
6767
6868
- name: Upload artifact
6969
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)