Commit Graph

140 Commits

Author SHA1 Message Date
XhmikosR 97576345b1
Remove scorecards (#37751) 2022-12-28 23:49:57 +02:00
dependabot[bot] 406ab2abe6
Build(deps): Bump ossf/scorecard-action from 2.1.1 to 2.1.2 (#37728)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-28 23:45:07 +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
dependabot[bot] 51ba329046
Build(deps): Bump ossf/scorecard-action from 2.1.0 to 2.1.1 (#37680)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 21:45:51 +02:00
Joyce 3e8c8868eb
Enable OpenSSF Scorecard Github Action and Badge (#37402)
Signed-off-by: Joyce Brum <joycebrum@google.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-12-16 09:34:54 +02: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 9aff4cdc90
CodeQL: ignore dist folder (#37486) 2022-11-14 18:40:09 +02:00
XhmikosR 1a33235adc
CI: switch to Node.js 18 LTS (#37461) 2022-11-13 16:19:29 +02:00
XhmikosR b3b6728c5f
cspell.yml: remove unused NODE environment variable 2022-11-13 16:03:00 +02:00
XhmikosR 8387827c13
Update CodeQL Action (#37481) 2022-11-12 13:09:35 +02:00
XhmikosR 11f5d28db6
CI: remove git credentials after checkout (#37459) 2022-11-09 09:21:55 +02:00
Julien Déramond a396d9cd12 Replace JS Bin refs by CodePen or StackBlitz references 2022-07-07 14:28:08 -07:00
Julien Déramond eea1b1e1fd
Use 'needs-example' label to trigger live demo bot message (#36624) 2022-06-22 22:53:28 +02:00
dependabot[bot] 83cb588f94
Bump streetsidesoftware/cspell-action from 1 to 2 (#36473)
Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 1 to 2.
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
  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-05-31 17:52:57 +03:00
Mark Otto d17fe26dcf
Rewrite Parcel guide (#36411)
* Rewrite Parcel guide

* update to match latest webpack guide, add images

* eslint-skip

* Apply suggestions from code review

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* match parcel to webpack, share footer, consistent use of no ;

* Update site/content/docs/5.2/getting-started/parcel.md

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* edits from code review

* Add custom images

* add image compression action from blog

Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-05-22 17:47:01 -07:00
dependabot[bot] 314a9dd949
Bump github/codeql-action from 1 to 2 (#36230)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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-05-10 09:33:45 +03: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
xrkffgg 0804c0043f
CI: add issues-helper (#35846) 2022-02-22 09:55:29 +02:00
XhmikosR e1020a43a5
Move cspell to Actions (#35593)
* Move cspell to Actions

* Remove the now unused `docs-spellcheck` npm script
2022-01-30 16:39:30 +02:00
XhmikosR 640542e606
Move linkinator to GitHub Actions. (#35573)
* Move linkinator to GitHub Actions.

* Remove `docs-linkinator` npm script since it's no longer used
2022-01-29 14:42:56 +02:00
XhmikosR 68f226750d
JS tests: only test one Node.js version (#35481) 2021-12-10 16:40:32 +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 78e9b402df
Revert "Bundlewatch: stop ignoring dependabot branches (#33192)" (#35069)
This reverts commit 5560c86070.
2021-10-04 19:34:47 +03:00
XhmikosR 8b0b34e92e
Update CodeQL workflow (#34961) 2021-09-14 09:07:59 +03:00
XhmikosR a7e64b5a4f
Add GitHub SHA in BrowserStack build ID. (#34077) 2021-08-30 16:30:51 +03:00
XhmikosR 2721f6042b
CI: make use of the `actions/setup-node`'s `cache` option (#34453) 2021-07-19 18:38:49 +03:00
dependabot[bot] 3f3f8dddb8
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 (#34491)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
2021-07-14 08:29:28 +03:00
XhmikosR c3ad760cd7
CI: remove Node.js 10 (#33923)
Node.js 10 is EOL since 30/04/2021
2021-05-11 08:34:21 +03:00
XhmikosR b3916ebdd4
JS tests: add Node.js 16 (#33720) 2021-04-22 13:51:03 +03:00
XhmikosR 205e2cae70
CodeQL: skip dependabot PRs too (#33130) 2021-03-02 16:09:49 +02:00
XhmikosR 5560c86070
Bundlewatch: stop ignoring dependabot branches (#33192) 2021-02-24 18:32:05 +02:00
XhmikosR 03e7d6328c
CI: skip release drafter if we are not on our repo (#33067) 2021-02-15 08:50:47 +02:00
XhmikosR c93d754d35
CI: remove the cache fallback and shorten cache key (#33012) 2021-02-08 21:41:10 +02:00
XhmikosR 1fd34a1a2c
CI: switch to the coverallsapp/github-action tag (#32919)
Unfortunately, they don't offer a `v1` tag
2021-01-28 23:31:33 +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 c3e8a0ef2a
Update CodeQL Action (#32452) 2020-12-15 09:14:03 +02:00
XhmikosR c34385eb01
CI: add a 30-min timeout for BrowserStack (#32238) 2020-12-10 11:52:22 +02:00
XhmikosR d61f506a5f
Update codeql.yml (#32125)
Specify the branches and clean up the comments
2020-11-24 08:35:33 +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 c31aef49d9 Switch to dart-sass
node-sass is now deprecated
2020-10-29 15:34:41 +02:00
XhmikosR eb91c2ec2a
CI: allow skipping BrowserStack (#31878)
This basically brings back the previous behavior we had on Travis CI, where if the commit message included `[ci skip]`, BrowserStack tests didn't run.

Additionally, this allows skipping BrowserStack if the commit message contains `[skip ci]` too.
2020-10-26 20:55:51 +02:00
XhmikosR 646a706764
Update CodeQL action (#31930)
Should run on PRs too.
2020-10-26 18:56:16 +02:00
XhmikosR 8efe4aa9af
Update bundlewatch.yml (#31063)
Specify `CI_TRACK_BASE: main`
2020-06-17 15:23:48 +03:00
XhmikosR c28934cb18
Rename "master" to "main". (#31050) 2020-06-16 21:41:47 +03:00
XhmikosR b0b9d14446
Update lint.yml (#31012) 2020-06-11 23:20:10 +03: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 0c731dd24f Add dart-sass build test
Builds the CSS with dart-sass and lists the files in dist-sass/css folder
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
XhmikosR c6288e3170
Update CI config (#30920)
* update to `actions/cache@v2`
* stop invalidating the cache if test.yml changes
2020-05-28 20:28:02 +03:00
XhmikosR a22e2900f9
Update codeql.yml (#30777)
Remove moot fail-fast option
2020-05-11 21:04:27 +03:00
XhmikosR 9e8d6ba3f8
Update codeql.yml (#30719)
Remove `pull_request` event since it's not supported.
2020-05-04 19:24:26 +03:00
XhmikosR ad75ee191f
Update codeql.yml (#30679)
* run the action on PRs too
* specify `javascript` language
* remove comments
* reindent
2020-04-29 16:57:10 +03:00
XhmikosR 6d7cb22728
Move codeql.yml one dir up (#30677) 2020-04-29 15:01:48 +03:00
Justin Hutchings 1e8e3e5e12
Add CodeQL Analysis workflow (#30676)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-29 09:52:21 +03:00
XhmikosR 06c3c144b6
CI: remove no longer needed steps (#30674)
The latest `actions/setup-node` prints this info by default
2020-04-28 18:06:03 +03:00
Mark Otto febdcefcd7
Merge branch 'master' into release-drafter 2020-04-13 15:34:08 -07:00
XhmikosR 9f6ccf9d12
Replace bundlesize with bundlewatch. (#30538) 2020-04-08 21:28:54 +03:00
Mark Otto 232de79db8
Update release-notes.yml 2020-03-30 11:55:44 -07:00
Mark Otto fd2f669836
Update release-notes.yml 2020-03-30 11:51:45 -07:00
Mark Otto e52e0ff463
Update release-notes.yml 2020-03-30 11:48:28 -07:00
Mark Otto 878d636739
Update release-notes.yml 2020-03-30 11:33:34 -07:00
Mark Otto 0ed53ff15b
Create release-notes.yml 2020-03-25 16:04:37 -07:00
XhmikosR fa4dd7e9af
Update test.yml (#29863)
Fix cache name
2019-12-24 18:12:13 +02:00
XhmikosR 9c784e45f1
Actions: add npm cache (#29765) 2019-12-13 17:12:03 +02:00
XhmikosR c26636d56b
CI: update to `actions/checkout@v2` (#29847) 2019-12-13 15:59:37 +02:00
XhmikosR 099860d727
Switch to the Coveralls Action (#29478)
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
2019-11-18 21:03:43 +02:00
XhmikosR 133e0c8c9a
Drop support for Node.js 8. (#29496)
By the time v5 stable will be out, 8 will be EOL (December 2019).
2019-10-09 11:11:37 +03:00
XhmikosR 9c54d35797
CI: move `CI` env variable to the root of the workflow. (#29499)
This way we match the Travis CI behavior, and it's inherited by all steps.
2019-10-08 08:47:40 +03:00
XhmikosR e41342b4c1
coveralls: Add `COVERALLS_GIT_BRANCH` (#29458)
Without this, coveralls didn't receive the branch info thus leading to failures when we switched branches.
2019-10-02 22:05:15 +03:00
XhmikosR b1a4b0ecc4
workflows/test.yml: specify `CI=true` (#29440) 2019-10-02 21:56:39 +03:00
XhmikosR 90c5de151b
GH Actions updates. (#29429) 2019-09-24 12:53:50 +03:00
XhmikosR 0126d9832b
workflows/test.yml: switch to `setup-node@v1`. (#29410) 2019-09-16 15:28:25 +03:00
XhmikosR 327d32ebad
Actions CI tweaks (#29276)
* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`
2019-08-24 02:32:29 +03:00
XhmikosR 3130288ba6 CI: run bundlesize only for pushes. 2019-08-12 22:00:56 +03:00
XhmikosR cd20ef09f4 Reindent workflows/test.yml. 2019-08-12 22:00:56 +03:00
XhmikosR e0b5b832d1 Limit coveralls to our repo. 2019-08-08 11:53:30 -07:00
XhmikosR fda35d1499 Run bundlesize separately. 2019-08-08 11:53:30 -07:00
Mark Otto a12466aeff Prep for migration to GitHub Actions CI/CD 2019-08-08 11:53:30 -07:00