Skip to content

Commit

Permalink
Add a workflow to validate Iosevka build
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Mar 9, 2024
1 parent 8db9ca9 commit 9d07151
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pr-build-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PR Font Build Validation

on: [pull_request]

jobs:
build:
name: Build ${{ matrix.fontName }} font
if: github.repository == 'be5ivnis/iosevka'

runs-on: ubuntu-latest

strategy:
matrix:
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile"]

steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts

- name: Install ttfautohint
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ttfautohint
- name: Build Font ${{ matrix.fontName }}
shell: bash
run: |
npm install
npm run build -- ttf::${{ matrix.fontName }}

0 comments on commit 9d07151

Please sign in to comment.