Update .gitea/workflows/main.yml
Some checks failed
Build Mau & Deploy Mau / deploy (push) Has been cancelled
Build Mau & Deploy Mau / build (push) Has been cancelled
Build Mau & Deploy Mau / build (pull_request) Successful in 43s
Build Mau & Deploy Mau / deploy (pull_request) Successful in 1m46s

This commit is contained in:
2024-07-15 14:45:21 +00:00
parent 4e6391b9ea
commit 22cbb104f6

View File

@@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 20
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
@@ -30,9 +30,6 @@ jobs:
- name: Build - name: Build
run: npm run build run: npm run build
- name: Test
run: npm test -- --watch=false
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
@@ -42,12 +39,6 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Create .env File
run: |
touch .env
echo "REACT_APP_API_URL=https://mau-mau.nl/api" > .env
echo "REACT_APP_WEBSOCKET_URL=wss://mau-mau.nl/api" >> .env
- name: Set up Docker BuildX - name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
with: with: