Skip to content

Commit 9ca18f5

Browse files
authored
feat: Add support for streamyard deploy package
1 parent 85fa9c6 commit 9ca18f5

File tree

3 files changed

+38
-8
lines changed

3 files changed

+38
-8
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 }}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "typeorm",
2+
"name": "@streamyard/typeorm",
33
"private": true,
4-
"version": "0.3.10",
5-
"description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.",
4+
"version": "0.3.10.1",
5+
"description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB, Spanner databases.",
66
"license": "MIT",
77
"readmeFilename": "README.md",
88
"author": {
@@ -64,7 +64,7 @@
6464
},
6565
"repository": {
6666
"type": "git",
67-
"url": "https://github.com/typeorm/typeorm.git"
67+
"url": "https://github.com/streamyard/typeorm.git"
6868
},
6969
"bugs": {
7070
"url": "https://github.com/typeorm/typeorm/issues"

0 commit comments

Comments
 (0)