mirror of
https://gitlab.com/vyla-entertainment/TV.git
synced 2026-11-17 13:37:19 -05:00
Initial commit
This commit is contained in:
38
node_modules/@vyla-entertainment/sdk/.github/workflows/publish.yml
generated
vendored
Normal file
38
node_modules/@vyla-entertainment/sdk/.github/workflows/publish.yml
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Publish npm package
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- name: Configure git
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- name: Bump version
|
||||
run: |
|
||||
npm version minor
|
||||
git push --follow-tags
|
||||
|
||||
- name: Publish
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}
|
||||
Reference in New Issue
Block a user