Skip to content

Commit 09ddc37

Browse files
authored
build: add GitHub actions config for unit tests
* build: add GitHub actions config for unit tests * chore: link root directory before linting * chore: also need to npm i
1 parent b3d6741 commit 09ddc37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/google-cloud-node/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"predocs-test": "npm run docs",
4040
"compile": "tsc -p . && cp system-test/*.js build/system-test/ && cp -r protos build/",
4141
"prepare": "npm run compile",
42-
"pretest": "npm run compile"
42+
"pretest": "npm run compile",
43+
"prelint": "cd samples; npm link ../; npm i"
4344
},
4445
"dependencies": {
4546
"@google-cloud/common": "^2.0.0",

0 commit comments

Comments
 (0)