Download ponytail/.github/workflows/publish.yml from smlflg/CodingAgent: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/smlflg/CodingAgent/resolve/main/ponytail/.github/workflows/publish.yml
- Command line
-
hf download hf://smlflg/CodingAgent/ponytail/.github/workflows/publish.yml
-
curl -L -o publish.yml https://huggingface.co/smlflg/CodingAgent/resolve/main/ponytail/.github/workflows/publish.yml
575 Bytes
| name: publish | |
| on: | |
| push: | |
| tags: ['v*'] | |
| workflow_dispatch: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| # Trusted publishing (OIDC) needs npm >= 11.5.1; Node 22 ships npm 10. | |
| - run: npm install -g npm@latest | |
| # No token: id-token: write above lets npm authenticate via OIDC, and | |
| # provenance is attached automatically. access set in publishConfig. | |
| - run: npm publish | |