Skip to content

Commit

Permalink
fix: templatize project name to exclude it in standalone instances (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev authored Dec 12, 2024
1 parent abc1f0f commit f34f4ee
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: pipx install algokit

- name: Bootstrap dependencies
run: algokit project bootstrap all --project-name 'production_react_netlify'
run: algokit project bootstrap all

- name: Publish to Netlify
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
run: pipx install algokit

- name: Install dependencies
run: algokit project bootstrap all --project-name 'production_react_netlify'
run: algokit project bootstrap all


- name: Run linters
run: algokit project run lint --project-name 'production_react_netlify'
run: algokit project run lint


- name: Run unit tests
run: algokit project run test --project-name 'production_react_netlify'
run: algokit project run test


- name: Build
run: algokit project run build --project-name 'production_react_netlify'
run: algokit project run build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: pipx install algokit

- name: Bootstrap dependencies
run: algokit project bootstrap all --project-name 'production_react_vercel'
run: algokit project bootstrap all

- name: Publish to Vercel
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
run: pipx install algokit

- name: Install dependencies
run: algokit project bootstrap all --project-name 'production_react_vercel'
run: algokit project bootstrap all


- name: Run linters
run: algokit project run lint --project-name 'production_react_vercel'
run: algokit project run lint


- name: Run unit tests
run: algokit project run test --project-name 'production_react_vercel'
run: algokit project run test


- name: Build
run: algokit project run build --project-name 'production_react_vercel'
run: algokit project run build
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:
run: pipx install algokit

- name: Bootstrap dependencies
run: algokit project bootstrap all --project-name 'production_react'
run: algokit project bootstrap all

Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
run: pipx install algokit

- name: Install dependencies
run: algokit project bootstrap all --project-name 'production_react'
run: algokit project bootstrap all


- name: Run linters
run: algokit project run lint --project-name 'production_react'
run: algokit project run lint


- name: Run unit tests
run: algokit project run test --project-name 'production_react'
run: algokit project run test


- name: Build
run: algokit project run build --project-name 'production_react'
run: algokit project run build
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: pipx install algokit

- name: Bootstrap dependencies
run: algokit project bootstrap all --project-name '{{ project_name }}'
run: algokit project bootstrap all {% if use_workspace %}--project-name '{{ project_name }}'{% endif %}
{% if cloud_provider == 'vercel' %}
- name: Publish to Vercel
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
run: pipx install algokit

- name: Install dependencies
run: algokit project bootstrap all --project-name '{{ project_name }}'
run: algokit project bootstrap all {% if use_workspace %}--project-name '{{ project_name }}'{% endif %}

{% if use_eslint_prettier %}
- name: Run linters
run: algokit project run lint --project-name '{{ project_name }}'
run: algokit project run lint {% if use_workspace %}--project-name '{{ project_name }}'{% endif %}
{% endif %}
{% if use_jest %}
- name: Run unit tests
run: algokit project run test --project-name '{{ project_name }}'
run: algokit project run test {% if use_workspace %}--project-name '{{ project_name }}'{% endif %}
{% endif %}

- name: Build
run: algokit project run build --project-name '{{ project_name }}'
run: algokit project run build {% if use_workspace %}--project-name '{{ project_name }}'{% endif %}

0 comments on commit f34f4ee

Please sign in to comment.