Update integrate.yml.

This commit is contained in:
theADAMJR 2023-05-30 23:50:39 +01:00
parent 80e543183e
commit 860729c085

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x]
node-version: [18.x]
mongodb-version: ['4.4']
steps:
- name: Git checkout
@ -27,7 +27,7 @@ jobs:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install Backend Packages
run: npm ci
run: npm ci -f
working-directory: ./backend
- name: Test Backend
@ -44,14 +44,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x]
node-version: [18.x]
mongodb-version: ['4.4']
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Backend Packages
run: npm ci
run: npm ci -f
working-directory: ./backend
- name: Start Backend for Frontend e2e
@ -90,7 +90,7 @@ jobs:
uses: actions/checkout@v2
- name: Install Frontend Packages
run: npm ci && npm cache clean --force
run: npm ci -f && npm cache clean -f
working-directory: ./frontend
- name: Build Frontend
@ -125,8 +125,8 @@ jobs:
- name: Git checkout
uses: actions/checkout@v2
- name: Push to v2-stable
- name: Push to stable
run: |
git config --global user.name 'Your Name'
git config --global user.email 'Your Email for GitHub'
git push origin HEAD:v2-stable
git push origin HEAD:stable