Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
ci(github): add test workflow
7185139b9117939b
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlnew file mode 100644index 00000000..82f3afcb--- /dev/null+++ b/.github/workflows/test.yml@@ -0,0 +1,33 @@+name: Test Workflow+on:+ push:+ branches: [main]+ pull_request:+ branches: [main]+jobs:+ test:+ runs-on: ubuntu-latest++ steps:+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Set up Node.js+ uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: 'npm'++ - name: Install dependencies+ run: npm ci++ - name: Lint code+ run: npm run lint++ - name: Copy environment file+ run: |+ cp environment/environment.dist.yaml environment/environment.yaml+ sed -i "s|dataPath: /home/|dataPath: /tmp/|" environment/environment.yaml++ - name: Run unit tests+ run: npm run test