File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 40
40
uses : actions/checkout@v4
41
41
with :
42
42
repository : ' authorizenet/sample-code-node'
43
- ref : ' master '
43
+ ref : ' future '
44
44
path : ${{env.sample_code_node}}
45
45
46
46
- name : Install Node
54
54
npm install
55
55
npm test
56
56
57
- # npm pack
58
- # rm -rf ../$local_npm_folder
59
- # mkdir ../$local_npm_folder
60
- # PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1)
61
- # tar -xvzf "authorizenet-$PACKAGE_VERSION.tgz" -C ../$local_npm_folder
62
- # cd ../$local_npm_folder/package
63
- # npm link
64
- # cd ../../$sample_code_node
65
- # npm link authorizenet
66
- # npm install
57
+ npm pack
58
+ PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1)
59
+ cd ../$sample_code_node
60
+ npm install file:../$sdk_node/authorizenet-$PACKAGE_VERSION.tgz
61
+ node test-runner.js
62
+
You can’t perform that action at this time.
0 commit comments