Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github(workflows): add package size checks, add auto demo deploy #1048

Merged
merged 45 commits into from
Feb 9, 2021
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
7754a8b
internal(deps): add deps for ts-node and filesize computation
williaster Feb 4, 2021
f385cdf
internal(node): add tsconfig for node
williaster Feb 4, 2021
6b67007
build: add computeBuildSizes script
williaster Feb 4, 2021
96b1e96
build: add compareBuildSizes, upsertPullRequestComment scripts
williaster Feb 4, 2021
b778c4f
build: update computeBuildSizes output file
williaster Feb 5, 2021
65d7f0b
build: add deploy-demo script
williaster Feb 5, 2021
894c506
github(workflows/ci): add Package sizes + Deploy gallery steps
williaster Feb 5, 2021
cb085cc
github(workflows/ci): add pull_request checks to happo, package sizes
williaster Feb 5, 2021
06f90a2
deps(dev): add @types/node-fetch
williaster Feb 5, 2021
85d18be
deps: update yarn.lock
williaster Feb 5, 2021
c055393
type(scripts/upsertPullRequestComment): fix comment type
williaster Feb 5, 2021
6703ca8
github(workflows): separate CI into push + pull_request
williaster Feb 5, 2021
fdcc602
deps(dev): add @octokit/rest
williaster Feb 5, 2021
1efd7c8
fix(workflows/pull_request): add needed variables for upsertPullReque…
williaster Feb 5, 2021
91f4e6e
commit to kick workflow
williaster Feb 5, 2021
a861a39
github(workflows): fix package size report job
williaster Feb 5, 2021
f50dff2
github(workflow): fix GITHUB_REPOSITORY/ACTOR variable syntax
williaster Feb 5, 2021
f01184d
fix(scripts/upsertPullRequestComment): better types
williaster Feb 5, 2021
8dd0720
fix(scripts/compareBuildSizes): log errors
williaster Feb 5, 2021
e21bc08
debug(scripts//upsertPullRequestComment): add more debug logs
williaster Feb 5, 2021
2169ed7
debug(scripts/upsertPullRequestComment): add more debug logs
williaster Feb 5, 2021
42509e4
fix(/workflows/pull_request): remove debug logging
williaster Feb 5, 2021
734973e
github(workflows): update branches for testing
williaster Feb 5, 2021
32deeda
fix(workflows/push)
williaster Feb 5, 2021
e8a955c
fix(scripts/upsertPullRequestComment): fix bot user login check
williaster Feb 5, 2021
9609b2f
deps(demo, annotation, tooltip): react-measure@2.0.3
williaster Feb 5, 2021
e6d31c5
fix(demo/axis,pattern,xychart): fix window check for ssr
williaster Feb 5, 2021
0009880
fix(/workflows/push): rewrite gallery deploy job to fix credentials
williaster Feb 5, 2021
ff77c3e
fix(workflows/push/gallery): try to fix credentials
williaster Feb 5, 2021
6cb73a3
fix(github/workflows/push): try https for gallery push
williaster Feb 5, 2021
2fdee13
fix(workflows/push): tweak https syntax
williaster Feb 5, 2021
521b296
fix(workflows/push): try github-pages-deploy-action
williaster Feb 5, 2021
72b182c
fix(workflows/push): don't use working-directory with uses
williaster Feb 5, 2021
82bfeab
fix(workflows/push): try changing persist-credentials mid-workflow
williaster Feb 5, 2021
ff3a7b7
fix(workflows/push): more changes
williaster Feb 5, 2021
6e71972
fix(workflows/push): try worktree approach
williaster Feb 6, 2021
ed6c6bf
fix(workflows/push): build gallery on master
williaster Feb 6, 2021
b6734d3
fix(workflows/push): add out/ contents pre-commit
williaster Feb 6, 2021
16eac02
fix(workflows/push): fix credentials
williaster Feb 6, 2021
3bed467
fix(workflows/push): try not master
williaster Feb 6, 2021
ddd77a9
fix(workflows/push): try not master take 2
williaster Feb 6, 2021
da1b374
fix(workflows/push): we have a winner
williaster Feb 9, 2021
1bc79d1
fix(workflows/push,pull_request): final final
williaster Feb 9, 2021
d503be5
fix(workflows/push): match 📡 emoji across workflows 🙄
williaster Feb 9, 2021
160db5c
type(scripts/upsertPullRequestComment): fix types
williaster Feb 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(workflows/push): build gallery on master
  • Loading branch information
williaster committed Feb 6, 2021
commit ed6c6bf631f902b6561e3bdb6175e1b28b7a96a2
5 changes: 3 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ jobs:
git checkout --orphan gh-pages
git reset --hard
touch .nojekyll
yarn build
git add .
git commit -m "bot(${GITHUB_SHA}): auto-commit gallery"
git commit -m "bot(${GITHUB_SHA}): initialize gh-pages branch"
git checkout master
rm -rf out
yarn build
git worktree add out gh-pages
cd out
git commit -m "bot(${GITHUB_SHA}): auto-commit gallery"
git push -f https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git gh-pages