Commit Graph

14 Commits (class-with-hash)

Author SHA1 Message Date
Simon Friis Vindum 6796e0a7ae
chore(release): remove publish job for GitHub package repository (#1115) 12 months ago
Simon Friis Vindum 809829de3f
chore(tools): use npm ci instead of npm install (#1095) 1 year ago
iambumblehead d0db5c5c6b
chore(test): enforce prettier format for pull requests using lint ci job (#1081)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead c17b3435af
chore(tools): add lint job to ci pipeline (#1068)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 856f26a52e
chore(test): rename ci job from CI to test-browser (#1075)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e4862d349a
chore(tools): added github package publishing job, runs when release is created (#1070)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e9771776ce
chore(test): use actions/checkout@v4, replacing v3 (#1065)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead ed31057285
chore(test): use actions/checkout@v3, replacing v2 (#1056)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Jan van Brügge ef0f0ea864
chore(test): fix test script name in CI 1 year ago
Jan van Brügge 714f4ad770
chore(tools): enable the use of secrets on PRs from forks
The only secret that is configured is the access key for browserstack.
The worst case of getting it extracted is that someone can run tests on
browserstack with our account. The snabbdombot user has no admin
privileges, so in that case we can just issue a new access key
4 years ago
Jan van Brügge e537a94ba3
chore(tools): run CI on pushes to the master branch 4 years ago
Jan van Brügge 0e34828632
chore(test): make tests run again on older browsers
When removing unnecessary dependencies, polyfills like core-js were
removed, as well as webpack which bundled the tests to es5. With this
commit, tests that need specific browser features are skipped if the
browser does not support them and the code is compiled to es5 by
karma-typescript
4 years ago
Jan van Brügge 795e9968d9
chore(tools): do not use environments for CI
The environment was used to ensure that the browserstack access keys
are only available after approval, so a potentially malicious actor
can't modify the testing code and extract those secrets. This however
creates a lot of noise in the notifications of the maintainers and it
drastically reduces the feedback cycle for the contributor in case their
change causes an issue in one of the supported browsers. Additionally
the potential harm in extracting the access keys is pretty low. The
snabbdombot account has only user access, so it can't change
browserstack settings and it can only access the automate features. So
the only thing that can happen is that our PRs fail because some third
party is running browser tests and thus exhausting our 5 parallel tests
limit. In that case we can simply change the access key of the
snabbdombot account. For this reason, the secrets are now repository
secrets and the CI does not need an approval to run
4 years ago
Shahar Or (mightyiam) d04b7ad435 chore(ci): replace travis with gh actions 4 years ago