Merge pull request #144 from EYBlockchain/carlos-kruse/node20 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mend SCA Scan | |
on: | |
push: | |
branches: | |
- taxgrid-v2.2 | |
permissions: | |
id-token: write | |
contents: write | |
actions: write | |
deployments: write | |
packages: write | |
repository-projects: write | |
jobs: | |
processes: | |
runs-on: ubuntu-latest | |
name: Mend | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '16.16.0' | |
- name: Install Modules | |
run: | | |
cd /home/runner/work/timber/timber/merkle-tree | |
npm install | |
env: | |
GPR_TOKEN: ${{ secrets.GPR_TOKEN }} | |
- name: Download unified agent | |
run: | | |
curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar | |
env: | |
GPR_TOKEN: ${{ secrets.GPR_TOKEN }} | |
- name: Run whitesource unified agent | |
run: | | |
echo "userkey: " ${{ secrets.MEND_USER_KEY }} | |
cat /home/runner/work/timber/timber/wss-unified-agent.config | |
java -jar wss-unified-agent.jar -c /home/runner/work/timber/timber/wss-unified-agent.config -apikey $MEND_API_KEY -userkey $MEND_USER_KEY | |
env: | |
MEND_API_KEY: ${{ secrets.MEND_API_KEY }} | |
MEND_USER_KEY: ${{ secrets.MEND_USER_KEY }} | |
GPR_TOKEN: ${{ secrets.GPR_TOKEN }} |