From 90b2593900fa36c0a48bf94983f9b4140f4fc04e Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 26 Jun 2025 20:09:06 +0200 Subject: only deploy if tests pass --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/deploy.yml') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index be37f83..4f47e8e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,12 +14,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '14' + node-version: 20 cache: 'npm' - name: Install Dependencies run: npm install - name: Build Project run: npm run build + - name: Run Tests + run: npm test - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.7.3 with: -- cgit