Skip to content

Commit 413a728

Browse files
committed
Install npm packages from package.json in workflow (nginx#165)
1 parent b2a5845 commit 413a728

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
uses: actions/setup-node@v3
8484
with:
8585
node-version: 18
86-
- run: npm install mocha@^8.2 esm chai
87-
- run: npx mocha -r esm ${{ github.workspace }}/internal/nginx/modules/test/httpmatches.test.js
86+
- run: npm --prefix ${{ github.workspace }}/internal/nginx/modules install
87+
- run: npm --prefix ${{ github.workspace }}/internal/nginx/modules test
8888

8989
binary:
9090
name: Build Binary

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cover.html
2727
build/.out
2828

2929
# Node modules
30-
internal/nginx/modules/node_modules
30+
node_modules/
3131

3232
# JS test coverage
3333
internal/nginx/modules/coverage

0 commit comments

Comments
 (0)