Skip to content

Commit

Permalink
Merge pull request #40 from dominant-strategies/cicd
Browse files Browse the repository at this point in the history
Cicd
  • Loading branch information
robertlincecum authored Mar 7, 2024
2 parents 0a0ee9f + 83927a1 commit bdb42f0
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate Documentation
## name: Generate Documentation

on:
push:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions .github/workflows/branch-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Auto Version Branch Workflow
on:
pull_request:
types: [closed]
branches:
- 'v?[0-9]+.[0-9]+'
jobs:
call-common-workflow:
uses: dominant-strategies/quai-cicd/.github/workflows/deploy-sandbox-common.yml@main
with:
needs_build: true
install_command: "npm ci"
build_command": "npm run build-clean"
cloud_deploy: false
skip_deploy: true
update_version: false
needs_docker: false
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_ARGS: ''
25 changes: 25 additions & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Cut Release
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to use'
required: true
default: 'master'
jobs:
call-common-workflow:
uses: dominant-strategies/quai-cicd/.github/workflows/cut-release-common.yml@main
with:
branch: main
needs_build: true
needs_docker: false
install_command: "npm ci"
build_command: "npm run build-clean"
cloud_deploy: false
skip_deploy: true
update_version: true
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_ARGS: ''
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY2 }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
19 changes: 19 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Dev Workflow
on:
pull_request:
types: [closed]
branches: [ "master" ]
jobs:
call-common-workflow:
uses: dominant-strategies/quai-cicd/.github/workflows/deploy-dev-common.yml@main
with:
needs_build: true
install_command: "npm ci"
build_command: "npm run build-clean"
cloud_deploy: false
skip_deploy: true
update_version: false
needs_docker: false
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_ARGS: ''
19 changes: 19 additions & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Garden
on: workflow_dispatch
jobs:
call-common-workflow:
uses: dominant-strategies/quai-cicd/.github/workflows/deploy-sandbox-common.yml@main
with:
needs_build: true
needs_docker: false
install_command: "npm ci"
build_command: "npm run build-clean"
cloud_deploy: false
skip_deploy: true
update_version: true
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_ARGS: ''
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY2 }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GH_GCP_TOKEN: ${{ secrets.GH_GCP_TOKEN }}
91 changes: 91 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@noble/hashes": "1.3.2",
"@types/node": "18.15.13",
"aes-js": "4.0.0-beta.5",
"axios": "^1.6.7",
"dotenv": "^16.4.1",
"tslib": "2.4.0",
"ws": "8.5.0"
Expand Down Expand Up @@ -83,7 +84,7 @@
"default": "./lib.commonjs/wordlists/index.js"
}
},
"gitHead": "f3e4f59d2e076da4483e1c45a54d728972b59066",
"gitHead": "3bd0bf5b077f4aa5fab480474e3982e50e1af506",
"homepage": "https://qu.ai",
"keywords": [
"quainetwork",
Expand All @@ -108,7 +109,7 @@
"auto-build": "npm run build -- -w",
"build": "tsc --project tsconfig.esm.json",
"build-all": "npm run build && npm run build-commonjs",
"build-clean": "npm run clean && npm run build && node lib.esm/_admin/update-version.js && node lib.esm/_admin/update-changelog.js && npm run build-all && npm run _build-dist && npm run _dist-stats",
"build-clean": "npm run clean && npm run build && npm run build-all && npm run _build-dist && npm run _dist-stats",
"build-commonjs": "tsc --project tsconfig.commonjs.json",
"build-dist": "npm run build && npm run _build-dist && npm run _dist-stats",
"clean": "rm -rf dist lib.esm lib.commonjs && cp -r misc/basedirs/* .",
Expand All @@ -121,5 +122,5 @@
"test-esm": "mocha --trace-warnings --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js"
},
"sideEffects": false,
"version": "0.0.1"
"version": "v0.0.1-pre"
}

0 comments on commit bdb42f0

Please sign in to comment.