Skip to content

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

chore: adjustments in the GH actions

Ilian Sapundshievac5c0d82c451
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 431f13df2..525d174b7 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 on Windows
+ name: Test desktop pro app on Windows
runs-on: windows-latest
env:
PD_PLATFORM: node
@@ -17,7 +17,8 @@ jobs:
with:
repository: tagspaces/testdata
path: tests/testdata
- - uses: actions/setup-node@v4
+ - name: Configure NPM for TagSpaces Pro
+ uses: actions/setup-node@v4
with:
node-version: '20.x'
always-auth: true
@@ -44,7 +45,7 @@ jobs:
tests/test-pages/
tests/test-reports/
e2eTestsWebWin:
- name: Test web app on Windows
+ name: Test web pro app on Windows
runs-on: windows-latest
env:
PD_PLATFORM: web
@@ -58,7 +59,8 @@ jobs:
with:
repository: tagspaces/testdata
path: tests/testdata
- - uses: actions/setup-node@v4
+ - name: Configure NPM for TagSpaces Pro
+ uses: actions/setup-node@v4
with:
node-version: '20.x'
always-auth: true
diff --git a/.github/workflows/workflow_scheduled_mac_electron.yml b/.github/workflows/workflow_scheduled_mac_electron.yml
index 10652748c..161ef1f4c 100644
--- a/.github/workflows/workflow_scheduled_mac_electron.yml
+++ b/.github/workflows/workflow_scheduled_mac_electron.yml
@@ -19,7 +19,8 @@ jobs:
with:
repository: tagspaces/testdata
path: tests/testdata
- - uses: actions/setup-node@v4
+ - name: Configure NPM
+ uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Running npm install, prettier and type checks
diff --git a/.github/workflows/workflow_scheduled_mac_web.yml b/.github/workflows/workflow_scheduled_mac_web_pro.yml
similarity index 96%
rename from .github/workflows/workflow_scheduled_mac_web.yml
rename to .github/workflows/workflow_scheduled_mac_web_pro.yml
index 996e39720..03f386b4c 100644
--- a/.github/workflows/workflow_scheduled_mac_web.yml
+++ b/.github/workflows/workflow_scheduled_mac_web_pro.yml
@@ -32,6 +32,8 @@ jobs:
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
diff --git a/.github/workflows/workflow_scheduled_win_electron_pro.yml b/.github/workflows/workflow_scheduled_win_electron_pro.yml
index e47af21ef..cdd2c634c 100644
--- a/.github/workflows/workflow_scheduled_win_electron_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_electron_pro.yml
@@ -1,4 +1,4 @@
-name: Nightly E2E Tests Electron Windows Pro
+name: Nightly E2E Tests Electron Pro Windows
on:
schedule:
- cron: '0 0 * * *'
@@ -8,7 +8,6 @@ jobs:
e2eTestsElectronWin:
name: Test TagSpaces Pro on Windows
runs-on: windows-latest
-
steps:
- name: Checking out default branch
uses: actions/checkout@v4
@@ -32,6 +31,8 @@ jobs:
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
diff --git a/.github/workflows/workflow_scheduled_win_web.yml b/.github/workflows/workflow_scheduled_win_web_pro.yml
similarity index 95%
rename from .github/workflows/workflow_scheduled_win_web.yml
rename to .github/workflows/workflow_scheduled_win_web_pro.yml
index 7561149ad..c9d159be1 100644
--- a/.github/workflows/workflow_scheduled_win_web.yml
+++ b/.github/workflows/workflow_scheduled_win_web_pro.yml
@@ -33,6 +33,8 @@ jobs:
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