We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f253d commit 7a0daf2Copy full SHA for 7a0daf2
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: Deploy Player
2
+
3
+on:
4
+ push:
5
+ branches: ["master"]
6
+ pull_request:
7
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