Bump actions/setup-node from 6.3.0 to 6.4.0 #70
Workflow file for this run
This file contains hidden or 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: TPIP | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/tpip.yml | |
| - docs/third-party-licenses.json | |
| - docs/tpip-header.md | |
| - scripts/tpip-reporter.ts | |
| - package-lock.json | |
| - docs/* | |
| - scripts/update-tpip.ts | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| update-tpip: | |
| name: Update TPIP Report | |
| permissions: | |
| contents: write | |
| packages: read | |
| actions: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| node-version-file: package.json | |
| registry-url: https://npm.pkg.github.com | |
| check-latest: false | |
| package-manager-cache: false | |
| - name: Install dependencies | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| run: npm ci | |
| - name: Update TPIP excerpt | |
| id: excerpt | |
| run: | | |
| npm run tpip:update | |
| if git diff --exit-code docs/third-party-licenses.json > /dev/null; then | |
| echo "update=0" >> $GITHUB_OUTPUT | |
| else | |
| echo "update=1" >> $GITHUB_OUTPUT | |
| fi | |
| - name: Update TPIP report | |
| if: ${{ steps.excerpt.outputs.update == 1 }} | |
| run: npm run tpip | |
| - name: Commit Changes | |
| if: ${{ steps.excerpt.outputs.update == 1 }} | |
| uses: EndBug/add-and-commit@290ea2c423ad77ca9c62ae0f5b224379612c0321 | |
| with: | |
| author_name: monty-bot | |
| author_email: monty-bot@arm.com | |
| message: "Update TPIP report [skip ci]" | |
| add: | | |
| docs/third-party-licenses.* |