Skip to content

Commit 851cc73

Browse files
committed
feat: apply changes for StreamYard (#20)
1 parent 19a6954 commit 851cc73

File tree

10 files changed

+9673
-34
lines changed

10 files changed

+9673
-34
lines changed

.github/workflows/ci.yml

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

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
@streamyard:registry=https://npm.pkg.github.com
3+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

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.20",
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.20-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": {
@@ -66,7 +66,7 @@
6666
},
6767
"repository": {
6868
"type": "git",
69-
"url": "https://github.com/typeorm/typeorm.git"
69+
"url": "https://github.com/streamyard/typeorm.git"
7070
},
7171
"bugs": {
7272
"url": "https://github.com/typeorm/typeorm/issues"

0 commit comments

Comments
 (0)