generated from CoCreate-app/CoCreate-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
558eddc
commit 83e1dd3
Showing
2 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
create: | ||
|
||
jobs: | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# debuging action | ||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 | ||
|
||
|
||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: 12 | ||
# registry-url: https://npm.pkg.github.com/ | ||
# scope: '@cocreate-app' | ||
# - run: npm publish --access=public | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{secrets.GITHUB}} | ||
|
||
|
||
# overwrite description and keyworkds | ||
- name: Jaid/action-sync-node-meta | ||
uses: jaid/[email protected] | ||
with: | ||
direction: overwrite-github # default is overwrite-file | ||
githubToken: ${{ secrets.GITHUB }} | ||
|
||
# Auto Changog generator | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v2 | ||
with: | ||
# You can specify specifying version range for the extra plugins if you prefer. | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/npm | ||
@semantic-release/git | ||
@semantic-release/github | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: setup nodejs | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 'v10.16.0' | ||
|
||
# - name: build production version | ||
- run: yarn install --frozen-lockfile | ||
|
||
- name: update documentation | ||
run: npm run html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"socket": { | ||
"config": { | ||
"apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a", | ||
"securityKey": "f26baf68-e3a9-45fc-effe-502e47116265", | ||
"organization_Id": "5de0387b12e200ea63204d6c" | ||
}, | ||
"host": "server.cocreate.app:8088" | ||
}, | ||
|
||
// Source files to upload to CoCreate | ||
"sources": [ | ||
{ | ||
"path": "./src/index.html", | ||
"collection": "module-views", | ||
"document_id": "5f08bf3da588c11bf8ead4b3", | ||
"name": "html", | ||
}, | ||
{ | ||
"collection":"website-pages", | ||
"document_id":"", | ||
"name":"html", | ||
"domains":["ws.cocreate.app"], | ||
"route":"/signup",} | ||
}, | ||
] | ||
|
||
/* Comment parse and upload to CoCreate */ | ||
|
||
// Directory to parse for comments and upload to CoCreate | ||
// "directory": "./test_files/", | ||
// "extensions": [ | ||
// "js", | ||
// "css", | ||
// "html" | ||
// ], | ||
// "ignores": [ | ||
// "node_modules", | ||
// "vendor", | ||
// "bower_components", | ||
// "archive" | ||
// ], | ||
|
||
// "permissions": { | ||
// "apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a", | ||
// "securityKey": "f26baf68-e3a9-45fc-effe-502e47116265", | ||
// "organization_Id": "5de0387b12e200ea63204d6c" | ||
// }, | ||
} |