The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
feat: use actions
nafees nazik9e57de512a8c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex deda53ff0..53ed03f20 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -23,20 +23,12 @@ jobs:with:fetch-depth: 2- - name: Install Node.js- uses: actions/setup-node@v4- with:- node-version: 18- cache: npm-- - name: Install dependencies- run: npm ci+ - uses: ./.github/actions/node-install- name: Copy envrun: cp .env.example .env- - name: Build- run: npm run build+ - uses: ./.github/actions/cache-buildbuild_docker:name: Build Docker Imagediff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.ymlindex 7b05458d9..9d1782363 100644--- a/.github/workflows/e2e-tests.yml+++ b/.github/workflows/e2e-tests.yml@@ -6,26 +6,21 @@ on:branches: ['main']jobs:e2e_tests:- name: "E2E Tests"+ name: 'E2E Tests'timeout-minutes: 60runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- - uses: actions/setup-node@v4- with:- node-version: 18- cache: npm- - name: Install dependencies- run: npm ci- name: Copy envrun: cp .env.example .env+ - uses: ./.github/actions/node-install+- name: Start Servicesrun: npm run dx:up- - name: Install Playwright Browsers- run: npx playwright install --with-deps+ - uses: ./.github/actions/playwright-install- name: Generate Prisma Clientrun: npm run prisma:generate -w @documenso/prisma@@ -36,6 +31,8 @@ jobs:- name: Seed the databaserun: npm run prisma:seed+ - uses: ./.github/actions/cache-build+- name: Run Playwright testsrun: npm run ci@@ -43,7 +40,7 @@ jobs:if: always()with:name: test-results- path: "packages/app-tests/**/test-results/*"+ path: 'packages/app-tests/**/test-results/*'retention-days: 30env:TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}