0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
XhmikosR
c2671ecc2d
CI: limit the on push triggers (#38291) 2023-03-22 09:03:51 +02:00
XhmikosR
8ba98bc9f0
CI: test CSS after build (#37714) 2022-12-25 12:41:54 +02:00
Romaric Pascal
33ccbc23e3
SCSS testing of the utilities API (#36029)
* Set up CSS testing using sass-true and mocha

Use mocha to handle the heavy lifting of finding tests and running them.
Mocha is made to look directly for SCSS files which are compiled
thanks to Node's require.extensions mechanism.

* Add CSS tests to workflow

* Add tests for the generate-utility mixin

* Add tests for utilities generation

* Fix linting issues

* Fix test contents

Don't know why the whole utilities.test.scss ended up copied in the api.test.scss

* Remove unnecessary entry in package.json

* Move to Jasmine for running the tests

* Move running of CSS tests before CSS build

* Update linting set up

Add exceptions for test files in stylelint

* Remove irrelevant option for sass-true

* Fix linting issues after rebase

* Add color mode tests

* Fix linter

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 14:29:20 -08:00
XhmikosR
71e2acef44
Revert "CI: limit the on push triggers (#35574)" (#37657)
This reverts commit f0ae5cceac.
2022-12-16 09:32:50 +02:00
XhmikosR
f0ae5cceac
CI: limit the on push triggers (#35574)
Since now we have workflow_dispatch, we can trigger a workflow manually in case we don't have an open PR.

Also, remove the custom `ci skip` code; it's supported natively for some time now: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2022-12-16 09:22:18 +02:00
Varun Sharma
471edac3d3
CI: Add GitHub token permissions for workflows (#36325)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-12-16 09:20:12 +02:00
XhmikosR
1a33235adc
CI: switch to Node.js 18 LTS (#37461) 2022-11-13 16:19:29 +02:00
XhmikosR
11f5d28db6
CI: remove git credentials after checkout (#37459) 2022-11-09 09:21:55 +02:00
dependabot[bot]
c766904aa2
Bump actions/checkout from 2 to 3 (#35933)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-03-02 16:51:46 +02:00
dependabot[bot]
5051bbb82d
Bump actions/setup-node from 2 to 3 (#35925)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 15:19:34 +02:00
XhmikosR
6eef480e1e
CI: add workflow_dispatch (#35454) 2021-12-02 23:02:11 +02:00
XhmikosR
45bba10714
Switch to Node.js 16 and npm 8. (#35178) 2021-10-13 15:26:48 +03:00
XhmikosR
2721f6042b
CI: make use of the actions/setup-node's cache option (#34453) 2021-07-19 18:38:49 +03:00
XhmikosR
c93d754d35
CI: remove the cache fallback and shorten cache key (#33012) 2021-02-08 21:41:10 +02:00
XhmikosR
8c1444f00a
CI: change Node.js to 14 (#32796)
This is so that it's consistent with the JS workflow thus the cache should match.
2021-01-14 12:51:14 +02:00
XhmikosR
0bcaa068f2
GitHub Actions cleanup (#32755)
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
2021-01-11 13:05:05 +02:00
XhmikosR
97a3ef357d
CI: update to actions/setup-node@v2 (#32635) 2021-01-05 21:56:31 +02:00
XhmikosR
fdc40f5053
CI: specify FORCE_COLOR:2 (#32222)
This should show any colors in the output
2020-11-23 21:32:25 +02:00
XhmikosR
a6156ede32
CI: switch to Node.js 14. (#32003) 2020-10-29 19:38:31 +02:00
XhmikosR
e993ca76e0
CI: Skip dependabot PR branches. (#32006)
Also, reword Node.js setup step
2020-10-29 19:26:15 +02:00
XhmikosR
833125b5fe Revert "Change when CI runs"
This reverts commit 37dc6e1031.
2020-06-11 07:52:12 +03:00
XhmikosR
3575a2b3c8 Update Actions
* skip BrowserStack if we are not on the main repo
* remove the action filename from cache
2020-06-11 07:52:12 +03:00
XhmikosR
f57ac7231e Switch to Node.js 12.x. 2020-06-10 08:19:51 +03:00
XhmikosR
37dc6e1031 Change when CI runs
Run it for all pull requests, the master branch, and any branches that end with `-ci`.
2020-06-10 08:19:51 +03:00
XhmikosR
e7604207a1 Split GitHub Actions.
Everything should be faster now. Also, we can restart a failed workflow and not the whole thing like before.
2020-06-10 08:19:51 +03:00