-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
a2715c0
commit a324ea9
Showing
15 changed files
with
2,784 additions
and
2,784 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: CoCreate-app | ||
# These are supported funding model platforms | ||
|
||
github: CoCreate-app |
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 |
---|---|---|
@@ -1,95 +1,95 @@ | ||
name: Automated | ||
"on": | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
about: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Jaid/action-sync-node-meta | ||
uses: jaid/[email protected] | ||
with: | ||
direction: overwrite-github | ||
githubToken: "${{ secrets.GITHUB }}" | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v3 | ||
id: semantic | ||
with: | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/git | ||
@semantic-release/github | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" | ||
outputs: | ||
new_release_published: "${{ steps.semantic.outputs.new_release_published }}" | ||
new_release_version: "${{ steps.semantic.outputs.new_release_version }}" | ||
cdn: | ||
runs-on: ubuntu-latest | ||
needs: release | ||
if: needs.release.outputs.new_release_published == 'true' | ||
env: | ||
VERSION: "${{ needs.release.outputs.new_release_version }}" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: yarn install | ||
run: > | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > | ||
.npmrc | ||
yarn install | ||
- name: yarn build | ||
run: yarn build | ||
- name: upload bundle as version | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: "/scroll/${{env.VERSION}}" | ||
acl: public-read | ||
- name: upload bundle as latest | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: /scroll/latest | ||
acl: public-read | ||
invalidations: true | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: update documentation | ||
uses: CoCreate-app/CoCreate-docs@master | ||
name: Automated | ||
"on": | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
about: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Jaid/action-sync-node-meta | ||
uses: jaid/[email protected] | ||
with: | ||
direction: overwrite-github | ||
githubToken: "${{ secrets.GITHUB }}" | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v3 | ||
id: semantic | ||
with: | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/git | ||
@semantic-release/github | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" | ||
outputs: | ||
new_release_published: "${{ steps.semantic.outputs.new_release_published }}" | ||
new_release_version: "${{ steps.semantic.outputs.new_release_version }}" | ||
cdn: | ||
runs-on: ubuntu-latest | ||
needs: release | ||
if: needs.release.outputs.new_release_published == 'true' | ||
env: | ||
VERSION: "${{ needs.release.outputs.new_release_version }}" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: yarn install | ||
run: > | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > | ||
.npmrc | ||
yarn install | ||
- name: yarn build | ||
run: yarn build | ||
- name: upload bundle as version | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: "/scroll/${{env.VERSION}}" | ||
acl: public-read | ||
- name: upload bundle as latest | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: /scroll/latest | ||
acl: public-read | ||
invalidations: true | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: update documentation | ||
uses: CoCreate-app/CoCreate-docs@master |
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 |
---|---|---|
@@ -1,44 +1,44 @@ | ||
name: Manual Workflow | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
invalidations: | ||
description: | | ||
If set to 'true', invalidates previous upload. | ||
default: "true" | ||
required: true | ||
|
||
jobs: | ||
cdn: | ||
runs-on: ubuntu-latest | ||
env: | ||
DRY_RUN: ${{ github.event.inputs.dry_run }} | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: yarn install | ||
run: > | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > | ||
.npmrc | ||
yarn install | ||
- name: yarn build | ||
run: yarn build | ||
- name: upload latest bundle | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
distributionId: "${{ secrets.DISTRIBUTION_ID }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: /scroll/latest | ||
acl: public-read | ||
invalidations: ${{ github.event.inputs.invalidations }} | ||
name: Manual Workflow | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
invalidations: | ||
description: | | ||
If set to 'true', invalidates previous upload. | ||
default: "true" | ||
required: true | ||
|
||
jobs: | ||
cdn: | ||
runs-on: ubuntu-latest | ||
env: | ||
DRY_RUN: ${{ github.event.inputs.dry_run }} | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: setup nodejs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: yarn install | ||
run: > | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > | ||
.npmrc | ||
yarn install | ||
- name: yarn build | ||
run: yarn build | ||
- name: upload latest bundle | ||
uses: CoCreate-app/CoCreate-s3@master | ||
with: | ||
aws-key-id: "${{ secrets.AWSACCESSKEYID }}" | ||
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}" | ||
distributionId: "${{ secrets.DISTRIBUTION_ID }}" | ||
bucket: testcrudbucket | ||
source: ./dist | ||
destination: /scroll/latest | ||
acl: public-read | ||
invalidations: ${{ github.event.inputs.invalidations }} |
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# ignore | ||
node_modules | ||
dist | ||
package-lock.json | ||
yarn.lock | ||
pnpm-lock.yaml | ||
|
||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
# ignore | ||
node_modules | ||
dist | ||
package-lock.json | ||
yarn.lock | ||
pnpm-lock.yaml | ||
|
||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* |
Oops, something went wrong.