File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 uses : actions/checkout@v4
4141 with :
4242 repository : ' authorizenet/sample-code-node'
43- ref : ' master '
43+ ref : ' future '
4444 path : ${{env.sample_code_node}}
4545
4646 - name : Install Node
5454 npm install
5555 npm test
5656
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