From 77833ba8950faa04a57f69aaffac8928583952e1 Mon Sep 17 00:00:00 2001 From: Mythie Date: Tue, 19 Sep 2023 13:34:38 +1000 Subject: [PATCH] chore: update ci --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/codeql-analysis.yml | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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