diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b03fb4f3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: 'npm' + - run: npm ci + - run: npm run all + - name: Release + if: github.ref_name == 'master' + run: npx semantic-release + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 880b81a6..cd135bf1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,10 +8,10 @@ The following is a set of guidelines for contributing to Feather. Feel free to p > **Note:** At the moment we are not accepting pull requests containing _**icons**_. The best way to contribute an icon is to create an issue with a screenshot and link to an SVG of your icon. -Pull requests for new features, bug fixes, etc. are often appreciated. Please checkout the [project roadmap](https://github.com/colebemis/feather#roadmap) and raise an issue to discuss any of the items on the list. +Pull requests for new features, bug fixes, etc. are often appreciated. **Working on your first Pull Request?** You can learn how from this *free* series -[How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github) +[How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) Guidelines for pull requests: - __Make your commit messages as descriptive as possible.__ Include as much information as you can. Explain anything that the file diffs themselves won’t make apparent. diff --git a/README.md b/README.md index 0659f6ae..64c9ad0b 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ Include an icon on your page with the following markup: stroke-linecap="round" stroke-linejoin="round" > - + ``` @@ -216,7 +216,7 @@ However, this markup can be simplified using a simple CSS class to avoid repetit ```html - + ``` ### Figma @@ -396,7 +396,10 @@ Caught a mistake or want to contribute to the documentation? [Edit this page on - [sketch-feather](https://github.com/odmln/sketch-feather) - Feather icons as a Sketch library - [vue-feather-icons](https://github.com/egoist/vue-feather-icons) - Feather icons as Vue components - [php-feather](https://github.com/Pixelrobin/php-feather) - Feather icons as a PHP Library + - [wp-php-feather](https://github.com/reatlat/wp-php-feather) - Feather icons as a WordPress template tag + - [django-feather](https://pypi.org/project/django-feather/) - Feather icons as Django Template Tag - [svelte-feather-icons](https://github.com/dylanblokhuis/svelte-feather-icons) - Feather icons as Svelte components + - [gulp-feather](https://github.com/oToToT/gulp-feather) - Feather icons renderng using gulp ## License diff --git a/bin/process-svg.js b/bin/process-svg.js index 44d3ec6b..6b37cfc8 100644 --- a/bin/process-svg.js +++ b/bin/process-svg.js @@ -7,7 +7,7 @@ import DEFAULT_ATTRS from '../src/default-attrs.json'; /** * Process SVG string. * @param {string} svg - An SVG string. - * @param {Promise} + * @returns {Promise} */ function processSvg(svg) { return ( diff --git a/icons/table.svg b/icons/table.svg new file mode 100644 index 00000000..2c1d7f33 --- /dev/null +++ b/icons/table.svg @@ -0,0 +1,13 @@ + + + diff --git a/src/tags.json b/src/tags.json index e957fa33..60196724 100644 --- a/src/tags.json +++ b/src/tags.json @@ -28,6 +28,8 @@ "calendar": ["date"], "camera": ["photo"], "cast": ["chromecast", "airplay"], + "chevron-down": ["expand"], + "chevron-up": ["collapse"], "circle": ["off", "zero", "record"], "clipboard": ["copy"], "clock": ["time", "watch", "alarm"],