Skip to content

Commit 57e3eb1

Browse files
committed
update workflow spec again
1 parent b8bcc55 commit 57e3eb1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/run-mocha-tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ jobs:
2525
cache: 'yarn'
2626

2727
- name: Verify `yarn.lock` exists
28+
working-directory: node-express-server
2829
run: |
29-
if [ ! -f node-express-server/yarn.lock ]; then
30+
if [ ! -f yarn.lock ]; then
3031
echo "Error: yarn.lock file is missing in node-express-server directory"
3132
exit 1
3233
fi
3334
3435
- name: Install dependencies
35-
run: yarn install
3636
working-directory: node-express-server
37+
run: yarn install
3738

3839
- name: Run Mocha tests
39-
run: npx mocha test/webserver.test.js
40-
working-directory: node-express-server
40+
working-directory: node-express-server
41+
run: npx mocha test/webserver.test.js

0 commit comments

Comments
 (0)