Skip to content

The Open Source DocuSign Alternative.

chore: update ci

Mythie77833ba8950f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c15689123..1a5d4bbcf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,12 +22,18 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 2
+
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
+
- name: Install dependencies
run: npm ci
+
+ - name: Copy env
+ run: cp .env.example .env
+
- name: Build
run: npm run build
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 92a0936a5..c934272a4 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -32,7 +32,10 @@ jobs:
- name: Install Dependencies
run: npm ci
-
+
+ - name: Copy env
+ run: cp .env.example .env
+
- name: Build Documenso
run: npm run build
@@ -42,4 +45,4 @@ jobs:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
\ No newline at end of file
+ uses: github/codeql-action/analyze@v2