aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yml
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-06-26 20:09:06 +0200
committerstonedDiscord <Tukz@gmx.de>2025-06-26 20:09:06 +0200
commit90b2593900fa36c0a48bf94983f9b4140f4fc04e (patch)
tree83ad2b85fd1980dce81566c97197381552c55739 /.github/workflows/deploy.yml
parent5a1da6e7095b1709c9cc2bc87672755672c67e03 (diff)
only deploy if tests pass
Diffstat (limited to '.github/workflows/deploy.yml')
-rw-r--r--.github/workflows/deploy.yml4
1 files changed, 3 insertions, 1 deletions
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: