Commit Graph

178 Commits

Author SHA1 Message Date
Matt Gibson 68548d8db9
Add bot to enforce hold PRs aren't merged (#456)
* Add bot to enforce hold PRs aren't merged

* Use commit hash rather than tag
2022-01-31 12:44:29 -06:00
Matt Gibson 21e8db9636
Create testing framework for CLI (#453)
* Create testing framework for CLI

- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test

expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule

* Run prettier

* Add tests to build pipeline

* Include required package

* Add placeholder test

* Run prettier

* Add nodemon and fix watch
2022-01-21 10:28:36 -06:00
Vince Grassia b6c8307437
Update Version Bump action to latest (#445) 2022-01-14 12:38:38 -05:00
Micaiah Martin eb122532bd
Added logic for redeployments (#428) 2021-12-20 13:19:31 -07:00
Oscar Hinton 910b4a24e6
Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Oscar Hinton ec53a16c00
Add Prettier configuration (#425) 2021-12-20 17:44:12 +01:00
Daniel James Smith 18073696d0
Bump node to v16 (#422)
* Pull in jslib

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16

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

* Update requirements in README.md

* Update 'setup-node' action version

* Update 'pkg' to 5.5.1

* Removed installation of npm8
npm8 is included in node v16

* Pull jslib

* Change engines to only warn on node < 16

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-12-13 17:18:20 +01:00
Oscar Hinton d0e4abf297
Run npm lint in CI (#416) 2021-12-03 20:34:59 +00:00
Micaiah Martin 7444b701e8
Added version bump workflow (#419) 2021-11-30 18:23:08 -07:00
Vince Grassia 720bd004a1
Change release workflow to only allow releases from rc or hotfix branches (#408) 2021-11-05 12:01:46 -04:00
Vince Grassia ee6990364f
Fix Release workflow (#403)
* Change extract directory to 'build'
2021-10-28 11:34:45 -04:00
Joseph Flinn 8250a99524
fixing the cli release workflow (#399) 2021-10-27 13:10:18 -07:00
Thomas Rittson deea0f827a
Add PR template (#396) 2021-10-27 18:59:31 +10:00
Joseph Flinn 6bea3ccc30
Updating release branch constraint (#392)
* Updating release branch constraint and CI pipeline code constraint

* removing the master branch release ci code execution

* updating some verbiage
2021-10-22 08:41:23 -07:00
Vince Grassia 58e632250a
Add notify constraint (#390) 2021-10-15 13:07:10 -04:00
Vince Grassia e9bd76b194
Add Slack alerts for Build workflow failures (#389) 2021-10-14 10:38:43 -04:00
Vince Grassia bf496ac7cd
Update workflows to new model (#379)
* Update GitHub Actions workflows to new model
2021-10-05 16:20:18 -04:00
Joseph Flinn 2a5f521df2
Updating the version of snapcore/build-action to the latest to get rid of the error on empty server response (#373) 2021-09-21 07:23:06 -07:00
Vince Grassia c4908315ff
Update workflows with linter suggestions (#366) 2021-09-02 16:04:02 -04:00
Joseph Flinn a23d3793a2
updating the release name (#364) 2021-08-24 11:57:58 -07:00
Joseph Flinn a1738c57dd
Cleaning up the build workflow and making sure the changes to the build workflow are reflected in the release workflow (#360) 2021-08-12 10:04:37 -07:00
Joseph Flinn 45eaa24b0c
Removing branch constraints on when to expose build assets (#359)
* Removing branch constraints on when to expose build assets

* updating to snap 5.0

* adding more snapcraft 5.0 specific updates

* installing multipass

* fixing syntax error

* switching from using a VM via multipass to using lxd

* trying the official snap build actions

* fixing error

* commenting out the snapcraft version

* testing the new changes to the snapcraft.yml file

* nameing the build snap task

* naming the build snap task
2021-08-11 15:38:05 -07:00
Joseph Flinn f0c1f1b16b
Fix the Windows Node Exe details (#350)
* fixing the resource hacker hash checking issue

* updating package command

* updating the release workflow to match the build workflow. Removing the unneeded env var

* fixing some formatting
2021-07-14 11:41:05 -07:00
Joseph Flinn fc2f4d1a3e
Fix pipelines fetch (#340)
* testing new pkg-fetch version

* adding missing dir

* adding the new pkg-fetch to the release pipeline. removing commented code
2021-06-30 11:26:44 -07:00
Matt Gibson 0162692fde
JSLIB submodule dependence needs to be pulled prior to install (#338) 2021-06-30 12:17:18 -05:00
Vince Grassia 091d5cfae4
Fix checkout action in release workflow (#337) 2021-06-30 12:24:49 -04:00
Joseph Flinn 3539d490d5
pinning commit hashes instead of versions to protect against supply chain attacks in github actions (#319) 2021-06-02 11:20:22 -07:00
Joseph Flinn 75236daeb8
constraining the releases to the rc branch (#318) 2021-06-01 13:50:53 -07:00
Oscar Hinton 942eb5cfa5
Bump NPM to v7 (#311)
* Bump NPM to v7

* Add NPM v7 to readme
2021-05-26 22:34:39 +02:00
Oscar Hinton 1b22c91f35
Bump node to 14 (#296)
* Bump node to 14

* Change engine node to ~14. Fix linting
2021-05-14 14:30:26 +02:00
Joseph Flinn b4fc4ca3a5
fixing release snap test (#300) 2021-05-11 13:18:27 -07:00
Oscar Hinton 9c55d78ffc
Update dependencies (#292)
* Update dependencies

* Remove types which are no longer needed

* Bump jslib

* Revert pkg to 4.5.1 since 5.0.0 does not compile on linux.

* Bump pkg-fetch in build pipeline
2021-04-23 21:04:11 +02:00
Joseph Flinn 779464ea9b
Fix snap test (#274)
* testing new fix

* adding this branch to the snap portion of the test

* adding in the build artifact for the linux executable

* removing the path since GitHub is being dumb...

* adding the path back in

* adding the full path

* overriding the config directory for the snap version test. It doesn't really make sense...
2021-04-02 10:25:15 -07:00
Joseph Flinn 576c020579
updating the cli deploy to pull from the release branch (rc). Really only needed on the npm deploy (#252) 2021-03-15 07:28:59 -07:00
Joseph Flinn 0a5f370fc2
adding artifact uploads for the rc branch (#245) 2021-03-04 09:51:45 -08:00
Joseph Flinn 4ae25c5db5
Fix deploy workflow (#228)
* fixing the snap package name and adding an npm install to the npm release

* fixing the manual deploy parser
2021-02-03 10:42:11 -08:00
Joseph Flinn 7dbcdbdd2e
fixing the snap package name and adding an npm install to the npm release (#227) 2021-02-03 10:12:18 -08:00
Joseph Flinn d175590313 resetting testing code 2021-01-28 21:05:17 +00:00
Joseph Flinn 1f6d095ab1 fixing the versions 2021-01-28 20:49:46 +00:00
Joseph Flinn cc16245115 adding published release type 2021-01-28 20:22:36 +00:00
Joseph Flinn 75e9deacf6 changing release type from prereleased 2021-01-28 20:19:44 +00:00
Joseph Flinn c1be8d9009 switching other fetch release assset to xotl's 2021-01-28 19:45:55 +00:00
Joseph Flinn 6e6b6c8b59 trying the folder location again 2021-01-28 19:35:39 +00:00
Joseph Flinn 11b9f25871 updating Move-Item 2021-01-28 19:29:08 +00:00
Joseph Flinn e549fa389d debugging dist 2021-01-28 19:22:34 +00:00
Joseph Flinn a833b98419 switching back to manually creating the directory and moving the asset 2021-01-28 19:10:37 +00:00
Joseph Flinn 9d10dcd633 trying without the ./ 2021-01-28 19:08:06 +00:00
Joseph Flinn e35af6ea42 switching the build version var check 2021-01-28 19:03:23 +00:00
Joseph Flinn 1a2e033671 adding path to download to 2021-01-28 18:59:07 +00:00
Joseph Flinn 975f79697c fixing choco package name 2021-01-28 18:51:53 +00:00