1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00
Commit Graph

19 Commits

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

* 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