Commit Graph

103 Commits

Author SHA1 Message Date
Oscar Hinton b4df834b16
Add Prettier configuration (#1201) 2021-12-20 14:17:39 +01:00
Vince Grassia b33d37e610
Update with linter suggestions (#1199) 2021-12-17 12:26:26 -05:00
Daniel James Smith 5865f08b37
Bump node to v16 (#1189)
* Pull in jslib

* Update .nvmrc

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16
The dep on node 14.18 will get cleaned up once we bump electron

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Removed install of npm8 and renamed action step
npm8 is included in node v16

* Pull jslib
2021-12-13 17:16:44 +01:00
Joseph Flinn 52d9244f7f
Revert linux ARM (#1162)
* Revert "Adding the newly added Linux Arm Desktop build assets to the release (#1159)"

This reverts commit dde7afb3df.

* Revert "package: Package ARM64 binaries for Linux (#1095)"

This reverts commit dd602024d8.
2021-11-16 11:22:22 -08:00
Alistair Francis dd602024d8
package: Package ARM64 binaries for Linux (#1095)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
2021-11-15 14:39:11 -08:00
Joseph Flinn d6c100afeb
Moving the push of the MAS artifact to the build workflow to enable manual publishing from TestFlight (#1150) 2021-11-09 07:26:30 -08:00
Joseph Flinn 4f77f12552
Updating the Crowin sync process (#1144) 2021-11-05 10:59:21 -07:00
Vince Grassia 6cea5e053d
Add Universal DMG Artifact (#1136) 2021-11-02 11:24:33 -04:00
Vince Grassia ecfbf2ba15
Add step to get Safari Extension branch ref (#1134) 2021-11-02 09:26:49 -04:00
Joseph Flinn 3ebfc14cbf
fixing typo in the checksum (#1133) 2021-11-01 08:01:16 -07:00
Vince Grassia 66d560aab5
Add notify constraint (#1112) 2021-10-15 13:07:05 -04:00
Vince Grassia 7327ab75c9
Add Slack alerts for Build workflow failures (#1108) 2021-10-14 13:05:49 -04:00
Vince Grassia b66d32b57e
Upgrade workflows to new model (#1104)
* Update workflows to new Build/Test/Release model
2021-10-12 11:51:26 -04:00
Joseph Flinn c5461f82c1
rolling back accidental changes to mac runner (#1081) 2021-09-16 11:10:12 -07:00
Joseph Flinn c99a543030
Pinning ast version (#1080)
* Pinning version of AST instead of using latest

* adding the pinned version of the commit

* adding an array join

* pinning version of dotnet

* trying the AST pin of the version we started using

* disabling jobs and adding test step to window job

* adding dotnet 2.1.x to see if that fixes the issue

* removing the test code and testing the addition of .net 2.1.x

* repinning to last successful sign

* trying the newest version of AST

* disabling the non-windows jobs again

* disabling the windows build job and added a test job

* removing stray comma

* changing the multiline delimiter

* pivoting away from our EV cert and testing with a test one

* switching back to the EV cert and adding a verbose flag

* disabling some steps that are breaking

* swithing back to the test cert

* testing new format for the ast command

* removing the node portions of the test since they are not needed

* trying AST without the tenat-id

* rolling back to original commit

* switching to custom AST for better troubleshooting

* removing the ast commit logic and forcing latest

* fixing up the pwsh sign command

* fixing the AST verison

* making sure that the secrets are not blank

* trying the EV cert for signing

* Using pinned commit from AST instead of custom code

* fixing env

* building the actually pinned commit instead of whatever the other thing was...

* testing the windows job

* removing the dotnet 2.1.x dependency since the older AST version shouldn't need it

* reenabling the test ast job since something is failing

* moving the git switch command

* testing new gh-action

* fixing the gh-action path

* updating the hash of the new action

* enabling the build jobs again

* updating the hash for the new Install AST action

* fixing linter issues
2021-09-16 10:15:05 -07:00
Vince Grassia fcadedd458
Update workflows with linter suggestions (#1056) 2021-09-02 16:05:38 -04:00
Matt Gibson db688d208d Use default cache directory 2021-06-11 14:05:28 -04:00
Matt Gibson 1fc8c02579 Remove node_modules cache
`npm ci` deletes node_modules as a first step, so makes no sense to cache
2021-06-11 13:52:39 -04:00
Matt Gibson 1b96afe283 Cache npm directory and always run `npm ci` 2021-06-11 13:52:39 -04:00
Vince Grassia 5ae7490478
MacOS Build Asset and Workflow Optimization (#942)
* adding more testable assets to the desktop build

* fixing typo

* renaming job

* fixing loading safari extension

* Fix typo

* Update workflows to use new Node caching

* Move checkout actions to beginning of jobs

* Add Run ID to key for Node cache

* Add Runner OS to cache actions

* Fix build commands by putting 'npx' in front

* Update builds to use other scripts in package.json

* Set up keychain for macos-package-dev

* Add 'Increment version' step to build workflow

* Disable MacOS dev build. Test other MacOS builds

* Add provisioning profile steps to other MacOS builds

* Remove test branch code

Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2021-06-07 12:00:13 -04:00
Vince Grassia 163351c3e7
Update pipelines (#936)
* Update workflows for consistency

* Update pipelines

- Trigger deploy workflow manually
- Publish release draft at the end of deploy workflow

* Enable artifact uploads for all branches and fail if no asset is found during upload

* Add if statements back in for MacOS

* Change Build application (dev) step
2021-06-01 17:14:02 -04:00
Oscar Hinton c89da7f12b
Hardcode SDKRoot (#925)
* Hardcode SDKRoot

* Re-add branch check for app store
2021-05-28 19:38:09 +02:00
Oscar Hinton 42d280ac09
Bump NPM to v7 (#922)
* Bump NPM to v7

* Bump npm in build

* Add NPM v7 to readme

* Update node-gyp
2021-05-26 22:44:48 +02:00
Vince Grassia 28ebbccbf1
Pin versions of actions in workflow (#901) 2021-05-18 09:21:26 -04:00
Oscar Hinton 8f7ab9f8db
Bump node to 14 (#869)
* Bump node to 14

* Bump some dependencies

* Bump jslib

* Ensure compatability with latest jslib

* Change node engine to ~14.
2021-05-12 22:38:02 +02:00
Vince Grassia 64492d95cf
Update workflows to accommodate universal pkg artifact for Mac (#888) 2021-05-12 10:59:30 -04:00
Joseph Flinn a467881a76 fixing typo 2021-03-04 10:23:54 -08:00
Joseph Flinn 8facd15772 adding artifacts to the builds on the rc branch 2021-03-04 09:54:14 -08:00
Zhiyuan Zheng 2e1588ebdc Update Github Action. 2021-01-26 11:16:19 +08:00
Joseph Flinn a1559faefb reverting all of the testing code 2021-01-22 04:53:28 +00:00
Joseph Flinn ef7b1d9a19 moving the choco update script into the release pipeline and the build pipeline 2021-01-22 02:46:11 +00:00
Joseph Flinn 6a2eb5f001 removing the testing code from the pipelines 2021-01-20 15:53:35 +00:00
Joseph Flinn c600901722 changing windows build environment to prod to use the HSM backed EV CS key 2021-01-19 19:19:10 +00:00
Joseph Flinn 0d42b7e8b4 commenting out all release specific tasks in the build pipeline 2021-01-19 17:40:46 +00:00
Joseph Flinn 713d7d05a0 seeing if creating a draft PR covers the 'create' trigger in GH Actions 2021-01-19 15:33:17 +00:00
Joseph Flinn fd6032f121 changing trigger to draft instead of publish 2021-01-16 00:11:36 +00:00
Joseph Flinn 36b9295f1b fixing the git repository to publish to 2021-01-15 23:38:39 +00:00
Joseph Flinn af254a1f52 adding in the GH_TOKEN to the publishing task 2021-01-15 23:07:50 +00:00
Joseph Flinn 7e0616f39e fixing syntax error 2021-01-15 22:33:03 +00:00
Joseph Flinn effe1cd504 fixing release build 2021-01-15 21:58:28 +00:00
Joseph Flinn f76a247fa4 commenting out all of the release things that I don't have secrets for 2021-01-15 20:02:21 +00:00
Joseph Flinn 0a68a6a36e merging the build and signing into to the same workflow (might split it back out later) 2021-01-15 19:54:07 +00:00
Joseph Flinn 50b5d2a422 removing other testing comments 2021-01-14 21:50:25 +00:00
Joseph Flinn 899acaa92a uncommenting some if conditions 2021-01-06 20:45:43 +00:00
Joseph Flinn 92d4afb28d removing appveyor to stop the fork from sending the repo to be built. Testing a release 2021-01-06 20:38:30 +00:00
Joseph Flinn 5eb10afe85 changing over to a value based boolean flag 2021-01-06 19:33:43 +00:00
Joseph Flinn 33029c1684 removing the signing portion of the original workflow 2021-01-06 19:19:18 +00:00
Joseph Flinn c508c7cd05 adding a signing flag for electron builder 2021-01-06 18:58:44 +00:00
Joseph Flinn 048f3fed6f adding in the forgotten environment 2021-01-06 18:17:50 +00:00
Joseph Flinn 7a2aa34619 adding the other artifacts to the windows portion of the build 2021-01-06 18:07:22 +00:00