We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bcc55 commit 57e3eb1Copy full SHA for 57e3eb1
.github/workflows/run-mocha-tests.yml
@@ -25,16 +25,17 @@ jobs:
25
cache: 'yarn'
26
27
- name: Verify `yarn.lock` exists
28
+ working-directory: node-express-server
29
run: |
- if [ ! -f node-express-server/yarn.lock ]; then
30
+ if [ ! -f yarn.lock ]; then
31
echo "Error: yarn.lock file is missing in node-express-server directory"
32
exit 1
33
fi
34
35
- name: Install dependencies
- run: yarn install
36
working-directory: node-express-server
37
+ run: yarn install
38
39
- name: Run Mocha tests
- run: npx mocha test/webserver.test.js
40
- working-directory: node-express-server
41
+ run: npx mocha test/webserver.test.js
0 commit comments