1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-17 05:25:54 +02:00

chore: usage of GitHub flow instead of Git flow

This commit is contained in:
divlo 2021-04-20 19:47:57 +02:00
parent 8027e2deed
commit 3e18536c2e
7 changed files with 11803 additions and 5254 deletions

View File

@ -2,9 +2,9 @@ name: 'Divlo'
on: on:
push: push:
branches: [master, development] branches: [master]
pull_request: pull_request:
branches: [development] branches: [master]
jobs: jobs:
ci: ci:

View File

@ -2,9 +2,9 @@ name: 'CodeQL'
on: on:
push: push:
branches: [master, development] branches: [master]
pull_request: pull_request:
branches: [development] branches: [master]
jobs: jobs:
analyze: analyze:

View File

@ -2,12 +2,12 @@ image: 'gitpod/workspace-full'
tasks: tasks:
- name: 'docker-daemon' - name: 'docker-daemon'
before: 'cp .env.example .env && npm install --global npm@7 && npm install' init: 'cp .env.example .env && npm install --global npm@7 && npm ci'
init: 'sudo docker-up' command: 'sudo docker-up'
- name: 'docker-container' - name: 'docker-container'
before: 'echo "Waiting for docker daemon to start" && init: 'echo "Waiting for docker daemon to start" &&
until docker info &> /dev/null; do sleep 1; done;' until docker info &> /dev/null; do sleep 1; done;'
init: 'docker-compose up' command: 'docker-compose up'
ports: ports:
- port: 3000 - port: 3000

View File

@ -1,5 +1,4 @@
{ {
"branches": ["master", "development"],
"plugins": [ "plugins": [
[ [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",

17027
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,7 @@
"react-component-form": "1.3.0", "react-component-form": "1.3.0",
"react-dom": "17.0.2", "react-dom": "17.0.2",
"universal-cookie": "4.0.4", "universal-cookie": "4.0.4",
"validator": "13.5.2" "validator": "13.6.0"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "12.1.1", "@commitlint/cli": "12.1.1",

View File

@ -1,11 +0,0 @@
#!/bin/bash
echo "VERCEL_ENV: ${VERCEL_ENV}"
if [[ "${VERCEL_ENV}" == "production" ]]; then
echo "✅ - Build can proceed"
exit 1
else
echo "🛑 - Build cancelled"
exit 0
fi