* add configs
* Add vue components
* Add documentation
* add alpha release version
* improve npm ignore files
* add tests
* Make style and class attrs work
* 📦 bump version
* Add Icon suffix for component names
* bump version
* Add icon component example
* remove space
* add new build strategy
* Write a better intro
* add other node design
* fix
* add new default template
* add tempalte
* improve code
* small improvements
* small improvements
* move files
* Connect lucide with lucide-react
* Add support for vue
* Add licenses to packages
* Fix tests
* refactor build scripts
* Minor code fixes
* update homepage readme
* Update footer text
* Add a better introduction to packages
* Split up in tempaltes
* Add new types build file
* Setup workflow file
* update readme
* update
* Fix build
* remove debug code
* Add check if svgs have duplicated children
* Add check if their are no children
* small fixes
* last fixes in the build
* Move script to packages folder
* Fix tests and add types for lucide
* Add rule to package.json
* add types in build
* add npm ignore
* update package.jsons
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
name: Build Lucide
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Clone 'Lucide'
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Update repos
|
|
run: sudo apt-get update
|
|
|
|
- name: Install FontForge
|
|
run: sudo apt-get install zlib1g-dev fontforge
|
|
|
|
- name: Clone sfnt2woff-zopfli repo
|
|
run: git clone https://github.com/bramstein/sfnt2woff-zopfli.git sfnt2woff-zopfli
|
|
|
|
- name: Install and move sfnt2woff-zopfli
|
|
run: |
|
|
cd sfnt2woff-zopfli
|
|
make
|
|
sudo mv sfnt2woff-zopfli /usr/local/bin/sfnt2woff
|
|
|
|
- name: Clone woff2
|
|
run: git clone --recursive https://github.com/google/woff2.git
|
|
|
|
- name: Install woff2
|
|
run: |
|
|
cd woff2
|
|
sudo make clean all
|
|
sudo mv woff2_compress /usr/local/bin/ && sudo mv woff2_decompress /usr/local/bin/
|
|
|
|
- name: Install Font Custom dependency
|
|
run: sudo gem install fontcustom
|
|
|
|
- name: Install "outline-stroke"
|
|
run: sudo yarn add svg-outline-stroke -W
|
|
|
|
- name: "Outline SVG"
|
|
run: mkdir converted_icons && node scripts/outline_svg.js
|
|
|
|
- name: Build 'Lucide'
|
|
run: echo "Building Lucide font" && fontcustom compile ./converted_icons -h -n Lucide -o build -F
|
|
|
|
- name: Zip 'Lucide'
|
|
run: zip -r Lucide.zip build
|
|
|
|
- name: 'Upload to Artifacts'
|
|
uses: actions/upload-artifact@v1.0.0
|
|
with:
|
|
name: Lucide
|
|
path: build
|