Commit Graph

28 Commits

Author SHA1 Message Date
LitoMore
3c5db40103
Fix build script when publishing to npm (#8589) 2023-04-30 16:45:25 +02:00
renovate[bot]
ef90d9c2ee
Update all dependencies (#8558)
* Update all dependencies

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 00:31:21 +02:00
Álvaro Mondéjar
1fa10346a2
Use <picture> blocks for GH theme images in README (#7983)
* Visual manual test on Github

* Replace all images

* Fix error

* Merge with develop

* Upgrade strip-gh-theme-links action
2022-11-27 12:46:23 +01:00
renovate[bot]
a63fbf93bd
Update all dependencies (#8034)
* Update all dependencies

* Update svgo.config.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2022-11-24 14:39:11 +01:00
renovate[bot]
4f8cc1ce4a
Update all dependencies (#7397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 13:17:22 +02:00
Álvaro Mondéjar
8596ddb72a
Upgrade strip-gh-theme-links action to v3 (#7389) 2022-05-07 22:46:03 +02:00
Álvaro Mondéjar
0823743d4b
Push tag manually in 'Publish Releases' workflow (#7342)
* Push tag manually in 'Publish Releases' workflow

* Use 'set -e' command
2022-04-18 05:56:17 -07:00
Álvaro Mondéjar
4e502c5742
Update Node.js to v16 in CI workflows (#7127) 2022-02-04 06:24:11 -08:00
Alexandre Paradis
a253682eb8
Add some icons in Readme (#4816)
* Add some icons in Readme

* Align icons at left

* Add some more icons

* Remove inline image

- Use relative icons path

* Format Third Party Extensions
 as a table

* force website build

* added readme-icons foler with icons for the readme.md file, as well as icons for light and dark modes in the readme.md titles

* restored corrupted svgs for readme-icons

* moved the icons to asset/readme, added icons for Drawio, Hexo and Jetpack Compose

* - Use `develop` branch absolutified links for README images
- Strip dark image theme links before publish to Github and npm
- Clean third party extensions table

* Commit to tag (ony inside master branch)

* Fix differences in README

* Reintroduce link in README logo

* Drop uneeded newline from README

* Fix error in README

* Add newlines for SVGs

* Newlines for all SVGs

* Reuse black icons from library

* Commit using Github Actions bot

* Reuse diagrams.net library icon for white version

* Fix comment

* Bump 'strip-gh-theme-links' action to v2

* removed assets/readme icons

* Test with 'fill=white'

* Test with 'style="fill:white"'

* added filter:invert(1) to PHP, TS, Simple Icons and Blender

* added readme-icons test, changed the name of light icons in assets/readme

* reloaded icons in Readme

* fixed typo in iconsPath for readme-icons test

* fixed typo on the darkiconsPath resolution

* restored absolute paths

* minimized the white icons on assets/readme

* restored test scripts

* Apply changes

* Disable color output testing in CI

* Revert latest change

Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
Co-authored-by: Jorge Amado Soria Ramirez <darksoul.uci@gmail.com>
2022-01-09 15:04:36 -06:00
Eric Cornelissen
cfb81045db
Fix publish workflow (#6803)
* Run linters after building code in sanity check for publishing

* Prettier ignore generated files
2021-10-31 11:38:10 +01:00
Sachin Raja
e232399271
Remove jest cache in CI (#6693)
* remove jest cache in ci

* remove jest cache from publish workflow

* remove jest config file and cache from gitignore
2021-10-26 10:59:11 +02:00
Eric Cornelissen
91a9458206
Unpin kceb/git-message-action (#6482) 2021-09-05 14:55:36 -07:00
Eric Cornelissen
f9e8ecb777
Upgrade git-message-action from v1 to v1.2.0 (#6424) 2021-08-29 09:59:33 -07:00
LitoMore
8283daf05a
Drop package-lock.json (#6179)
* Drop `package-lock.json`

* Drop lockfile related code

* Drop lockfile maintenance configurations
2021-08-23 19:21:03 +02:00
Eric Cornelissen
2c11b6fc98
Fix the release body of GitHub releases created by publish.yml (#6071) 2021-07-03 11:34:48 +02:00
Eric Cornelissen
a95ad430a3
Improve CI config: caching & refactoring (#5912)
* Set up caching jest cache for tests in CI

Use actions/cache to cache the jest cache between runs. The cache will
be invalided if the package-lock.json file is updated OR after 7
days [1]. The cache directory for jest is now also configured to be in a
directory called ".jestcache" at the root of this project. This
directory will be ignored by git due to its addition to the .gitignore.

--
1. https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy

* Trigger jest cache in CI

* Include date in cache key

This way the cache is invalidated very day

* Add name for caching Jest's cache step

* Demonstrate test failure with cache enabled

* Revert ff915d466075d5292c7b5772406ff62fe1a3e220

* Cache dependencies

* Update Jest cache configuration

* Refactor and use Jest cache in Publish workfow

- Refactor out the duplicated sanity check in the publish workflow into
  a separate, depended upon, job.
- Use the Jest cache in the Publish workflow.

* Update linter job in CI to just run `npm run lint`

... whereas previously it ran each linter separately. This avoids having
to update the workflow file if a new linter is added (or a linter is
removed).

* Use run_number instead of date for jest cache in CI

* Simplify GitHub release publish job
2021-06-29 12:07:50 +02:00
Eric Cornelissen
d96126dca3
Update workflow names (#5421)
* Update workflow names

Most importantly gives unique names to `create-release.yml` and
`merge-release.yml`.

Other than that, this attempts to improve and unify the names of all
workflows.

* Update release workflow names

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2021-04-07 20:15:11 -04:00
Eric Cornelissen
ef00aa292c Revert RELEASE_BODY to original
from c21487f4d1, but with double quotes.
2021-02-08 22:22:08 +01:00
Álvaro Mondéjar
bc8ee013ed Use double quotes escaping release data in 'Publish' workflow 2021-01-24 23:01:41 +01:00
Álvaro Mondéjar
576a7fe135 Revert partially commands in 'Publish' workflow 2021-01-24 13:34:55 +01:00
Eric Cornelissen
46ff9685ef
Add "Publish" job for automated website updates (#4787) 2021-01-18 13:18:02 +01:00
Álvaro Mondéjar
70ead50f27 Replace 'echo' by 'printf' commands in Publish workflow 2021-01-17 15:36:56 +01:00
Eric Cornelissen
a4ca74602f
Minor improvements (#4708)
* Remove .travis.yml reference from .gitattributes

* Minor refactoring of .svglintrc.js

- Remove unused variables
- Fix missing semi-colons
- Remove unneeded indentation

* Prevent error in clean command due to missing files

* Fix indentations

* Further improvements to Editorconfig and indentation

* Format YAML files

- Update indentation for array notation
- Normalize use of newlines
2021-01-15 21:47:00 +01:00
Álvaro Mondéjar
9817cc04c7
Escape 'Get commit message' step output in 'Publish' workflow (#4707)
* Escape 'Get commit message' step output in 'Publish' workflow
2021-01-11 16:47:29 +01:00
Eric Cornelissen
d56a3d95c9
Add remote trigger for simple-icons-font to publishing workflow (#4533)
* Add "Publish" job for automated font releases

* Ensure NPM release before triggering simple-icons-font
2021-01-01 19:29:47 +01:00
renovate[bot]
45d5687094
Update all dependencies (#4420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-21 13:55:32 +01:00
Álvaro Mondéjar
6379ae7022
Synchronize workflow with 'simple-icons-font' repo (#4408) 2020-12-20 12:43:16 +01:00
Eric Cornelissen
c21487f4d1
Switch from Travis CI to GitHub Actions (#4126)
* Add GitHub Actions workflow for verification

Add a GitHub Actions workflow file that does the verification of pushes
and pull requests. I.e., it runs the linters, runs the tests, and builds
the website. This workflow runs for all `pull_requests` and `push`es.

* Add GitHub Actions workflow for deployment

Add a GitHub Actions workflow file that does the deployment upon pushes
to master. Before actually deploying, the linters and test are ran, just
in case.

* Remove Travis CI configuration file

* Remove unnecessary quotes from existing workflows

* Add caching for "Build website" verification

* Update build badge in README

Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
2020-11-28 11:34:36 +01:00