Skip to content

Commit 7a0daf2

Browse files
Xevifbaldi6
authored andcommitted
feat: Add support for streamyard deploy package
1 parent 53f253d commit 7a0daf2

File tree

3 files changed

+12482
-5313
lines changed

3 files changed

+12482
-5313
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Player
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
build:
11+
name: Deployment
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Setup
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: "16.16.0"
20+
registry-url: "https://npm.pkg.github.com"
21+
scope: "@streamyard"
22+
- name: Install Dependencies
23+
run: npm ci
24+
- name: Build Package
25+
run: npm run package
26+
- name: Publish
27+
if: ${{ github.ref == 'refs/heads/main' }}
28+
run: npm publish --access restricted
29+
env:
30+
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)