58 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
f06c74840c Add codeql scanning (#565)
Copied from the TS repo. I hope that the config file supports globs!
2022-11-10 06:39:15 -08:00
Nathan Shively-Sanders
a0c6005425 Update node version of workflows (#564)
12 -> 14
2022-11-09 10:16:24 -08:00
Nathan Shively-Sanders
2a1f6b780c Also update appinsights (#563)
* Also update appinsights

* remove node 12 since appinsights@2 does not support it

* Add DOM to tsconfig.

Why does app insights 2 depend on URL from the DOM? I don't know, seems
wrong.
2022-11-09 09:55:37 -08:00
Jack Bates
00712c8734 Don't omit dependencies if only some deep modules are declared (#484)
* Don't omit dependencies if only some deep modules are declared

* Run just check parse results from the workflow

* Base test on styled-components-react-native
2022-09-27 11:08:15 -07:00
Jack Bates
90eac4dbf8 Use pacote second attempt (#483)
* Use cached npm metadata

* Simply read the npm cache

* Use pacote
2022-06-28 10:51:02 -07:00
Jack Bates
998ba34666 Use GitHub Actions to publish registry (#449) 2022-06-24 08:50:30 -07:00
Andrew Branch
6a17c0d7da Fix self-dependency versions (#403)
* Fix self-dependency versions

* Print offending sections of yarn.lock

* Remove test input from yarn.lock

* Spacing

* Spacing

* Spacing

* Simplify bash

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2022-02-16 15:38:36 -08:00
Nathan Shively-Sanders
6e7e50f95e Add workflow dispatch to update version tags (#326)
* Add workflow_dispatch to update-version-tags

* Add dummy (?) input

I hate YAML so much
2021-10-05 09:13:41 -07:00
Nathan Shively-Sanders
81c5790c65 Update setup-node to v2 (#325)
My guess is that this will bump the default version of node as well --
it's 10 on v1.
2021-10-05 08:55:36 -07:00
Andrew Branch
5061974f41 Move publisher to Azure Functions (#221)
* Functions MVP

* Actually commit root files

* Fix typo

* Enable remote build?

* Save temp directory as artifact?

* Blah

* Try to convince Oryx to use yarn

* Make independent tsconfig for deployed app

* Remote build doesn’t need to run tsc

* Whatever

* Functions have to be at the source root

* Add test function for fileshare

* Stooppppp

* SDFKLJSDFJKLDSFJKLSFDKLJ

* Make test HTTP trigger run the whole thing

* Set timeout to an hour

* Remove unused config

* App insights starts on its own, I think

* Update fs-extra

* Update node in dependencies

* Fix type error

* Use file lock, fix app insights

* Log response

* Bump timeout to 1:30

* Rename triggers for better alphabetical sort

* Update gitignore

* Update CI versions to latest two LTS
2021-03-25 09:57:18 -07:00
Andrew Branch
c06ad53d9a Update deploy.yml 2020-11-17 09:49:56 -08:00
Andrew Branch
cfb53b59ad Update to webapps-deploy v2 2020-11-16 16:14:56 -08:00
Andrew Branch
3fea4092bf Merge pull request #172 from microsoft/no-hassle-prettier
Have bot run prettier after PRs, remove from linter
2020-11-13 10:41:38 -08:00
Andrew Branch
a295c35177 Have bot run prettier after PRs, remove from linter 2020-11-13 10:36:10 -08:00
Nathan Shively-Sanders
a02b2e92ab Update TS version tags weekly (#163)
* Update TS version tags weekly

Probably not quite right, but this should be a good start.

* test with pull_request instead of pr

* just one on

* first try at cloning DT

* try shallow clone

* try a new token

* dummy edit to try github-publish-access-token

* dummy edit to try github-publish-access-token

* switch to scheduled run
2020-11-11 10:47:55 -08:00
Andrew Branch
2670dcdc98 Replace magic comment with workflow_dispatch 2020-08-04 09:45:47 -07:00
Andrew Branch
006a24b1a3 Fix rerunning failed publishes 2020-05-14 10:29:07 -07:00
Andrew Branch
7924d52c54 Get smarter 2020-05-14 09:00:11 -07:00
Andrew Branch
065df3e332 Use yarn on publisher deploy too 2020-05-04 11:37:23 -07:00
Andrew Branch
7a112a29b9 Update workflows to use yarn 2020-05-04 11:27:25 -07:00
Andrew Branch
567198e7e1 Ugghhghg 2020-04-21 13:00:15 -07:00
Andrew Branch
c56b78cec8 Have to actually deploy those files 2020-04-21 12:57:08 -07:00
Andrew Branch
8a35efde88 Include generated deployment script to run npm ci 2020-04-21 12:46:18 -07:00
Andrew Branch
f44ab2e83b Fix path 2020-04-21 10:40:47 -07:00
Andrew Branch
24e5627a0c Upload packed directory as artifact 2020-04-21 10:27:07 -07:00
Andrew Branch
f1bea39acd Revert tar-stream version bump 2020-04-21 09:25:43 -07:00
Andrew Branch
724b86de6b Prerelease publish shouldn’t increment patch every time 2020-04-14 16:24:07 -07:00
Andrew Branch
87c2c3eb26 Fix alpha publishing? 2020-04-14 14:51:34 -07:00
Andrew Branch
6f782f2a4f Can’t do shallow fetch either 2020-04-14 14:15:37 -07:00
Andrew Branch
c44d6ae392 Fetch tags in CI for alpha publish 2020-04-14 14:07:51 -07:00
Andrew Branch
dad7c5e5d7 Fix typo 2020-04-14 14:02:40 -07:00
Andrew Branch
2c545a104a Ensure tags are annotated 2020-04-14 13:45:33 -07:00
Andrew Branch
2ea1ae76ba Add canary publishing on push to master 2020-04-14 11:31:59 -07:00
Andrew Branch
5b481ab0ab Use repository dispatch to trigger publisher deployment 2020-04-09 15:54:04 -07:00
Andrew Branch
bdc4f4cfd1 publisher needs local copy of LICENSE 2020-04-09 14:12:24 -07:00
Andrew Branch
db1ac43652 Needs npm install, not ci 2020-04-09 13:21:36 -07:00
Andrew Branch
6dad7a4fc9 yes 2020-04-09 12:31:06 -07:00
Andrew Branch
2f8f9d6255 Run clean first 2020-04-09 12:26:38 -07:00
Andrew Branch
cf513b8f49 Tag 2020-04-09 11:54:58 -07:00
Andrew Branch
36fa4fba4d Clean up publishing script 2020-04-09 11:40:26 -07:00
Andrew Branch
557a94b358 Update workflows 2020-04-09 11:14:14 -07:00
Andrew Branch
952610d5f5 Add deployment slot name 2020-04-03 14:45:50 -07:00
Andrew Branch
db85ad428b Add path to publisher 2020-04-03 14:25:50 -07:00
Andrew Branch
4fd82d934e Prep for publisher deployment attempt 2020-04-03 13:51:55 -07:00
Andrew Branch
947d0d3236 lerna publish --no-verify-access 2020-03-05 17:25:16 -08:00
Andrew Branch
9f48f099f7 remove tag version prefix instead 2020-03-05 17:05:53 -08:00
Andrew Branch
5e7b477f02 Skip git tag because GitHub release does that 2020-03-05 16:56:52 -08:00
Andrew Branch
ef72d04606 Have typescript-bot do the commits? 2020-03-05 16:52:35 -08:00
Andrew Branch
d307aae779 lerna version needs --yes 2020-03-05 16:43:23 -08:00
Andrew Branch
c3a6d4ce6b Checkout master for publishing 2020-03-05 16:40:26 -08:00