Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: adding support for tagspaces pro

Ilian Sapundshiev6103d3f0cbc2
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 77365d203..916407e9a 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -3,7 +3,7 @@ on: pull_request
jobs:
e2eTestsWin:
- name: Test Desktop App Windows
+ name: Test desktop app on Windows
runs-on: windows-latest
env:
PD_PLATFORM: node
@@ -20,11 +20,16 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20.x'
+ always-auth: true
+ registry-url: https://npm.pkg.github.com/
+ scope: '@tagspacespro'
- name: Running npm install, prettier and type checks
run: |
npm install
npm run prettier-check
npm run type-check
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.TSPNPMINSTALL }}
- name: Run Unit tests
run: npm run test-unit
- name: Run Electron tests
@@ -39,7 +44,7 @@ jobs:
tests/test-pages/
tests/test-reports/
e2eTestsWebWin:
- name: Test Web App Windows
+ name: Test web app on Windows
runs-on: windows-latest
env:
PD_PLATFORM: web
@@ -48,13 +53,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- # - name: Checkout TagspacesPro
- # uses: actions/checkout@v4
- # with:
- # ref: Create-EditedEntryContextProvider
- # repository: tagspaces/tagspacespro
- # token: ${{ secrets.CHECKOUT_TSPRO }}
- # path: extensions/tagspacespro
- name: Checkout TestData
uses: actions/checkout@v4
with:
@@ -63,12 +61,17 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20.x'
+ always-auth: true
+ registry-url: https://npm.pkg.github.com/
+ scope: '@tagspacespro'
- name: Running npm install, prettier and type checks
run: |
npm install
npm run prepare-web-pro
npm run prettier-check
npm run type-check
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.TSPNPMINSTALL }}
- name: Run Unit tests
run: npm run test-unit
- uses: carlosperate/download-file-action@v2