File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929 - name : Install dependencies
3030 shell : bash
31- run : npm ci --include=dev
31+ run : npm ci --include=dev --ignore-scripts
3232
3333 - name : Build package
3434 if : inputs.require-build == 'true'
Original file line number Diff line number Diff line change 3333 needs : rl-scanner
3434 with :
3535 node-version : 18
36- require-build : true
36+ require-build : false
3737 secrets :
3838 npm-token : ${{ secrets.NPM_TOKEN }}
3939 github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3939
4040 - name : Install dependencies
4141 shell : bash
42- run : npm ci --include=dev
42+ run : npm ci --include=dev --ignore-scripts
4343
4444 - name : Build
4545 shell : bash
5656 id : rl-scan-conclusion
5757 uses : ./.github/actions/rl-scanner
5858 with :
59- artifact-path : " $(pwd)/${{ inputs.artifact-name }}"
60- version : " ${{ steps.get_version.outputs.version }}"
59+ artifact-path : ' $(pwd)/${{ inputs.artifact-name }}'
60+ version : ' ${{ steps.get_version.outputs.version }}'
6161 env :
6262 RLSECURE_LICENSE : ${{ secrets.RLSECURE_LICENSE }}
6363 RLSECURE_SITE_KEY : ${{ secrets.RLSECURE_SITE_KEY }}
6767 PRODSEC_TOOLS_ARN : ${{ secrets.PRODSEC_TOOLS_ARN }}
6868
6969 - name : Output scan result
70- run : echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV
70+ run : echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 3939
4040 - name : Install dependencies
4141 shell : bash
42- run : npm ci --include=dev
42+ run : npm ci --include=dev --ignore-scripts
4343
4444 - name : ESLint
4545 shell : bash
Original file line number Diff line number Diff line change 3030 "precommit" : " pretty-quick --staged" ,
3131 "lint" : " eslint ./src ./test --ext ts" ,
3232 "lint:package" : " publint" ,
33+ "prepare" : " npm run build" ,
3334 "start:playground" : " node --experimental-specifier-resolution=node --no-warnings --loader ts-node/esm playground/index.ts"
3435 },
3536 "repository" : {
You can’t perform that action at this time.
0 commit comments