Commit Graph

8 Commits (36bd53955793c93b7fcaa798cd327d461d9089be)

Author SHA1 Message Date
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