-
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.
Merge branch 'release/5.0.0-alpha.0'
- Loading branch information
Showing
82 changed files
with
16,635 additions
and
557 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,103 @@ | ||
name: Build Dashboard | ||
|
||
on: | ||
issues: | ||
types: [opened, edited, milestoned] | ||
schedule: | ||
- cron: 0 * * * * | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Check out GitHub Pages branch | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: 'gh-pages' | ||
path: 'out' | ||
|
||
- name: 'Generate Dashboard' | ||
uses: ethomson/issue-dashboard@v1.0.2 | ||
with: | ||
config: | | ||
title: 'Mission Control - ${{ github.repository }}' | ||
output: | ||
format: html | ||
filename: 'out/dashboard.html' | ||
sections: | ||
- title: "Repository Health" | ||
widgets: | ||
- type: graph | ||
elements: | ||
- title: 'Open issues unassigned to a project' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue no:project' | ||
- title: 'Open Issues' | ||
issue_query: 'repo:${{ github.repository }} is:issue is:open' | ||
- title: 'Closed Issues' | ||
issue_query: 'repo:${{ github.repository }} is:issue is:closed' | ||
- title: "To Do" | ||
description: "Issues in this section still need to be done. Help the project out by joining in with your area of expertise!" | ||
widgets: | ||
- type: 'table' | ||
title: 'Wireframe' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Wireframe" sort:created-asc' | ||
- type: 'table' | ||
title: 'Design' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Design" sort:created-asc' | ||
- type: 'table' | ||
title: 'HTML/CSS' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: HTML/CSS" sort:created-asc' | ||
- type: 'table' | ||
title: 'JavaScript' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: JavaScript" sort:created-asc' | ||
- type: 'table' | ||
title: 'PHP' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: PHP" sort:created-asc' | ||
- type: 'table' | ||
title: 'Testing' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Testing" sort:created-asc' | ||
- type: 'table' | ||
title: 'Release' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Release" sort:created-asc' | ||
- type: 'table' | ||
title: 'Documentation' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"✅ To Do: Documentation" sort:created-asc' | ||
- title: "Needs Input" | ||
description: "Issues in this section need someone's input. Get their feedback to help move them along!" | ||
widgets: | ||
- type: 'table' | ||
title: 'Client' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Client" sort:created-asc' | ||
- type: 'table' | ||
title: 'Creative Director' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Creative Director" sort:created-asc' | ||
- type: 'table' | ||
title: 'Designer' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Designer" sort:created-asc' | ||
- type: 'table' | ||
title: 'Developer' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Developer" sort:created-asc' | ||
- type: 'table' | ||
title: 'Producer' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Producer" sort:created-asc' | ||
- type: 'table' | ||
title: 'Strategist' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue label:"🧐 Needs: Strategist" sort:created-asc' | ||
- title: 'Pull Requests' | ||
widgets: | ||
- type: 'table' | ||
title: 'New Pull Requests (This Week)' | ||
issue_query: 'repo:${{ github.repository }} is:open is:issue created:>{{ date("-7 days") }} sort:created-asc' | ||
token: ${{ github.token }} | ||
|
||
- name: Publish Documentation | ||
run: | | ||
git add . | ||
git config user.name 'Dashboard User' | ||
git config user.email 'nobody@nowhere' | ||
git commit -m 'Documentation update' --allow-empty | ||
git push origin gh-pages | ||
working-directory: out |
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,159 @@ | ||
name: Publish Packages | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
getPackages: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
burf-base-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[0].latestVersion.version }} | ||
burf-theme-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[1].latestVersion.version }} | ||
burf-tools-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[2].latestVersion.version }} | ||
burf-customizations-version: ${{ fromJSON(steps.get_latest_package.outputs.data).repository.packages.nodes[3].latestVersion.version }} | ||
steps: | ||
- uses: octokit/graphql-action@v2.x | ||
id: get_latest_package | ||
with: | ||
query: | | ||
query packages($owner:String!,$repo:String!) { | ||
repository(owner:$owner,name:$repo) { | ||
packages(last: 3, names: ["burf-base", "burf-theme", "burf-tools", "burf-customizations"]) { | ||
nodes { | ||
name | ||
latestVersion { | ||
version | ||
} | ||
} | ||
} | ||
} | ||
} | ||
owner: 'bu-ist' | ||
repo: ${{ github.event.repository.name }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
getReleases: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
burf-base-version: ${{ fromJSON(steps.burf-base-release.outputs.content).version }} | ||
burf-theme-version: ${{ fromJSON(steps.burf-theme-release.outputs.content).version }} | ||
burf-tools-version: ${{ fromJSON(steps.burf-tools-release.outputs.content).version }} | ||
burf-customizations-version: ${{ fromJSON(steps.burf-customizations-release.outputs.content).version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Read burf-base package.json | ||
id: burf-base-release | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./burf-base/package.json | ||
- uses: actions/checkout@v2 | ||
- name: Read burf-theme package.json | ||
id: burf-theme-release | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./burf-theme/package.json | ||
- name: Read burf-tools package.json | ||
id: burf-tools-release | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./burf-tools/package.json | ||
- name: Read burf-customizations package.json | ||
id: burf-customizations-release | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./burf-customizations/package.json | ||
publishBase: | ||
needs: [ getPackages, getReleases ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print Version | ||
run: | | ||
echo 'Current package version for burf-base: ${{ needs.getPackages.outputs.burf-base-version }}' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@bu-ist' | ||
- name: Publish burf-base | ||
if: ${{ needs.getReleases.outputs.burf-base-version != needs.getPackages.outputs.burf-base-version }} | ||
run: | | ||
echo "New version of burf-base detected: ${{ needs.getReleases.outputs.burf-base-version }}. Old version: ${{ needs.getPackages.outputs.burf-base-version }}. Publishing now..." | ||
npm install --production | ||
npm publish burf-base | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Skip publishing burf-base | ||
if: ${{ needs.getReleases.outputs.burf-base-version == needs.getPackages.outputs.burf-base-version }} | ||
run: 'echo "::warning file=package.json,line=3::No new version of burf-base detected. Continuing on..."' | ||
publishTheme: | ||
needs: [ getPackages, getReleases ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print Version | ||
run: | | ||
echo 'Current package version for burf-theme: ${{ needs.getPackages.outputs.burf-theme-version }}' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@bu-ist' | ||
- name: Publish burf-theme | ||
if: ${{ needs.getReleases.outputs.burf-theme-version != needs.getPackages.outputs.burf-theme-version }} | ||
run: | | ||
echo "New version of burf-theme detected: ${{ needs.getReleases.outputs.burf-theme-version }}. Old version: ${{ needs.getPackages.outputs.burf-theme-version }}. Publishing now..." | ||
npm install --production | ||
npm publish burf-theme | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Skip publishing burf-theme | ||
if: ${{ needs.getReleases.outputs.burf-theme-version == needs.getPackages.outputs.burf-theme-version }} | ||
run: 'echo "::warning file=package.json,line=3::No new version of burf-theme detected. Continuing on..."' | ||
publishTools: | ||
needs: [ getPackages, getReleases ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print Version | ||
run: | | ||
echo 'Current package version for burf-tools: ${{ needs.getPackages.outputs.burf-tools-version }}' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@bu-ist' | ||
- name: Publish burf-tools | ||
if: ${{ needs.getReleases.outputs.burf-tools-version != needs.getPackages.outputs.burf-tools-version }} | ||
run: | | ||
echo "New version of burf-tools detected: ${{ needs.getReleases.outputs.burf-tools-version }}. Old version: ${{ needs.getPackages.outputs.burf-tools-version }}. Publishing now..." | ||
npm install --production | ||
npm publish burf-tools | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Skip publishing burf-tools | ||
if: ${{ needs.getReleases.outputs.burf-tools-version == needs.getPackages.outputs.burf-tools-version }} | ||
run: 'echo "::warning file=package.json,line=3::No new version of burf-tools detected.' | ||
publishCustomizations: | ||
needs: [ getPackages, getReleases ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print Version | ||
run: | | ||
echo 'Current package version for burf-customizations: ${{ needs.getPackages.outputs.burf-customizations-version }}' | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@bu-ist' | ||
- name: Publish burf-customizations | ||
if: ${{ needs.getReleases.outputs.burf-customizations-version != needs.getPackages.outputs.burf-customizations-version }} | ||
run: | | ||
echo "New version of burf-customizations detected: ${{ needs.getReleases.outputs.burf-customizations-version }}. Old version: ${{ needs.getPackages.outputs.burf-customizations-version }}. Publishing now..." | ||
npm install --production | ||
npm publish burf-customizations | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Skip publishing burf-customizations | ||
if: ${{ needs.getReleases.outputs.burf-customizations-version == needs.getPackages.outputs.burf-customizations-version }} | ||
run: 'echo "::warning file=package.json,line=3::No new version of burf-customizations detected.' |
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
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
Oops, something went wrong.