Skip to content

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

github e2e workflow

sytolk016b5aa33635
diff --git a/.github/workflows/workflow_scheduled_mac_minio_pro.yml b/.github/workflows/workflow_scheduled_mac_minio_pro.yml
index 204067484..26dd7dfea 100644
--- a/.github/workflows/workflow_scheduled_mac_minio_pro.yml
+++ b/.github/workflows/workflow_scheduled_mac_minio_pro.yml
@@ -23,13 +23,32 @@ 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-node
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
+ id: minio
+ name: Download the Minio
+ with:
+ file-url: 'https://s3.eu-central-1.wasabisys.com/demots/public/mc-20201119/minio-mac'
+ file-name: 'minio'
+ location: './tests/bin/'
+ - name: Check if Minio exists
+ run: |
+ ls ./tests/bin/
+ test -f ./tests/bin/minio
+ - name: Make the Minio executable
+ run: chmod +x ./tests/bin/minio
- name: Run Electron tests
run: |
npm run build-e2e
diff --git a/.github/workflows/workflow_scheduled_win_minio_pro.yml b/.github/workflows/workflow_scheduled_win_minio_pro.yml
index ecc3fdcfd..0a3ba79de 100644
--- a/.github/workflows/workflow_scheduled_win_minio_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_minio_pro.yml
@@ -29,12 +29,20 @@ jobs:
- name: Running npm install, prettier and type checks
run: |
npm install
+ npm run prepare-node
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
+ id: minio
+ name: Download the Minio
+ with:
+ file-url: 'https://s3.eu-central-1.wasabisys.com/demots/public/mc-20201119/minio.exe'
+ file-name: 'minio.exe'
+ location: './tests/bin/'
- name: Run Electron tests
run: |
npm run build-e2e