Spaces:
Paused
Paused
Download node_modules/yts-api-node/.github/workflows/release.yml from no1b4me/hytranslator: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/yts-api-node/.github/workflows/release.yml
- Command line
-
hf download hf://spaces/no1b4me/hytranslator/node_modules/yts-api-node/.github/workflows/release.yml
-
curl -L -o release.yml https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/yts-api-node/.github/workflows/release.yml
509 Bytes
| name: "Automatic Releaser" | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| registry-url: 'https://registry.npmjs.org' | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |