Skip to content

Commit 66f91a8

Browse files
authored
fix: version deployment action (#6)
* fix: bump version * fix: Add nprm related registry
1 parent a9f0698 commit 66f91a8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
run: npm run package
2626
- name: Publish
2727
if: ${{ github.ref == 'refs/heads/main' }}
28-
run: cd ./build/package && npm publish --access restricted
28+
run: npm publish --access restricted ./build/package
2929
env:
30-
NPM_TOKEN: ${{ secrets.TOKEN }}
30+
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.npmrc

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@streamyard/typeorm",
33
"private": true,
4-
"version": "0.3.10.1",
4+
"version": "0.3.10-1",
55
"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",

0 commit comments

Comments
 (0)