Skip to content

Commit

Permalink
feat: added designer package and added pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
pksorensen committed Feb 6, 2024
1 parent 598465c commit f55bed9
Show file tree
Hide file tree
Showing 23 changed files with 19,143 additions and 13,348 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: pullrequest

on:
pull_request:
branches:
- dev
- main

jobs:
eavfw_job:
uses: ./.github/workflows/testeavfw.yml
58 changes: 58 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release

on:
push:
branches:
- main
- dev
- vnext

jobs:
eavfw_test:
uses: ./.github/workflows/testeavfw.yml

release:
name: Release
runs-on: ubuntu-latest
needs:
- "eavfw_test"
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v4
with:
node-version: '20'

- name: Add plugin for conventional commits
run: npm install conventional-changelog-conventionalcommits --force
working-directory: ./.github/workflows

- name: NPM Install
run: npm ci --force

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_AUTHOR_NAME: pksorensen
GIT_AUTHOR_EMAIL: [email protected]
run: npm run release

#- name: Release EAVFW/Apps
# working-directory: ./packages/apps
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# GIT_AUTHOR_NAME: pksorensen
# GIT_AUTHOR_EMAIL: [email protected]
# run: npx semantic-release

#- name: Release EAVFW/Expressions
# working-directory: ./packages/expressions
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# GIT_AUTHOR_NAME: pksorensen
# GIT_AUTHOR_EMAIL: [email protected]
# run: npx semantic-release
70 changes: 70 additions & 0 deletions .github/workflows/testeavfw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Build and Test EAVFW

on:
workflow_call:
inputs:
templateversion:
required: false
default: '2.1.6-dev.5'
type: string
react_type_version:
required: false
default: '17.0.75'
type: string
dotnetversion:
required: false
default: '6.0.308'
type: string
nodeversion:
required: false
default: '20'
type: string


jobs:
eavfw_job:
name: Build and Test EAVFW
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

# - uses: actions/setup-dotnet@v3
# with:
# dotnet-version: ${{ inputs.dotnetversion }}

# - uses: actions/setup-node@v2
# with:
# node-version: ${{ inputs.nodeversion }}

# - name: install EAVFW template
# run: (dotnet new --debug:rebuildcache) -and (dotnet new --install EAVFW.Templates::${{ inputs.templateversion }}) -and (dotnet new --uninstall)

# - name: link
# run: npm install --force --ignore-scripts

# - name: link
# run: npm run link

# - name: create directory for test project
# run: mkdir ./../GithubEAVTestDirectory

# - name: create test project from template with no extensions
# run: ( dotnet new --debug:rebuildcache) -and (dotnet new eavfw --namespace "GithubTestOrg" --appName "GithubTestApp" --databaseName "GithubTestDB" --skipGitCommit --allow-scripts yes --dotnetSDK ${{ inputs.dotnetversion }} --reactTypesVersion ${{ inputs.react_type_version }} --skipPortal)
# working-directory: "./../GithubEAVTestDirectory"

# - name: create test web portal from template
# run: npm run eavfw-nextjs
# working-directory: "./../GithubEAVTestDirectory"

# - name: Install NPM
# run: npm install --force
# working-directory: "./../GithubEAVTestDirectory"

# - name: LINK EAVFW
# run: npm run eavfw-link --force
# working-directory: "./../GithubEAVTestDirectory"

# - name: build and export web portal
# run: npm run build
# working-directory: "./../GithubEAVTestDirectory"
22 changes: 22 additions & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Create issues from todo"

on:
push:
branches:
- 'dev'
- 'main'
- 'feature/**'

jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: "TODO to Issue"
uses: "alstr/[email protected]"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMENT_MARKER: "//"
LABEL: "// TODO"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/.vs
7 changes: 7 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"branches": [
"main",
{name: 'dev', prerelease: true, },
{name: 'vnext', prerelease: true, }
]
}
Loading

0 comments on commit f55bed9

Please sign in to comment.