1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

191 Commits

Author SHA1 Message Date
Joseph Flinn
80fcb1c77b Bumping pinned commit of the download-artifact action to bypass the broken GitHub api (#523) 2022-04-18 14:28:52 -07:00
Oscar Hinton
4c38fd80b4 [EC-145] Bump node-forge (#522) 2022-04-12 16:55:47 +02:00
Micaiah Martin
4177292216 Updated actions (#510) 2022-03-17 12:27:04 -04:00
Vince Grassia
562bf6d7b4 Add Node caching to Build workflow (#509) 2022-03-16 08:33:24 -04:00
Micaiah Martin
f9962b2dad Moved linting to it's own step, added dependancies (#507) 2022-03-15 18:09:46 +00:00
Micaiah Martin
f884095197 Added manual build trigger (#506) 2022-03-15 10:08:29 -06:00
Joseph Flinn
dce7d0b54f Update the hotfix release branch name to hotfix-rc (#502) 2022-03-09 12:46:16 -08:00
Micaiah Martin
3a14f04960 [BEEEP] - Ignored workflow files from triggering builds (#494) 2022-02-25 09:12:23 -05:00
Micaiah Martin
7033fa17da Added dry run logic for release workflow (#495) 2022-02-25 09:12:07 -05:00
Micaiah Martin
66012936ad Create initial workflow (#488) 2022-02-18 13:28:44 -06:00
Matt Gibson
4b2c9fd78b Lint to match other repos (#487) 2022-02-16 08:49:12 -06:00
Joseph Flinn
81afc009e6 Add Husky to release pipeline (#475) 2022-02-10 14:03:09 -08:00
Joseph Flinn
f484ef37c5 Update secret manager for snap token (#474) 2022-02-10 11:34:51 -08:00
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