security/codeql-dependabot-gitleaks
| 1 | name: "Setup release env" |
| 2 | description: "Setup Node.js, npm with trusted publishing support, and dependencies for publishing packages" |
| 3 | |
| 4 | runs: |
| 5 | using: "composite" |
| 6 | steps: |
| 7 | - name: Setup Node.js 22 |
| 8 | uses: actions/setup-node@v4 |
| 9 | with: |
| 10 | node-version: 22 |
| 11 | |
| 12 | - name: Ensure npm 11.5.1+ for OIDC |
| 13 | shell: bash |
| 14 | run: npm install -g npm@11.5.1 |
| 15 | |
| 16 | - name: Install Dependencies |
| 17 | shell: bash |
| 18 | run: yarn |