Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(ci): deploy to npm
Elian Dorane25c16b2303a
diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.ymlindex 7fe3e7d81d..1cd3b6760a 100644--- a/.github/workflows/release-package.yml+++ b/.github/workflows/release-package.yml@@ -1,7 +1,6 @@name: Releaseon:push:-jobs:publish-github-registry:runs-on: ubuntu-latest@@ -11,11 +10,11 @@ jobs:- uses: actions/setup-node@v4with:node-version: 22- registry-url: https://npm.pkg.github.com/+ registry-url: 'https://registry.npmjs.org'- run: yarn install- run: yarn pushenv:- NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}permissions:contents: readpackages: write\ No newline at end of filediff --git a/package.json b/package.jsonindex c48a844c20..3ae9e48f5a 100644--- a/package.json+++ b/package.json@@ -14,7 +14,7 @@"build:watch": "npx tsc -w","build:dev": "npx tsc && yarn copy-assets","build:prod": "yarn clean && cross-env NODE_ENV=production tsc -p ./tsconfig.production.json",- "push": "yarn test && yarn build:prod && yarn publish",+ "push": "yarn test && yarn build:prod && yarn publish --access public","run:examples:file": "node ./dist/examples/express-file-server/index.js"},"bugs": {