name: Test npm publishing tools on: pull_request: paths: - '.github/workflows/*ng*.yml' - 'scripts/npm-release/**' - 'docs/npm-release/**' permissions: contents: read jobs: test: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: persist-credentials: false - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: '22.15.0' - run: | npm ci --prefix scripts/npm-release --ignore-scripts --registry=https://registry.npmjs.org/ npm test --prefix scripts/npm-release