From 91c8479518ce0a0e837941e68bfa6d4eabd8bc7d Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Wed, 2 Mar 2022 16:42:57 -0500 Subject: [PATCH 1/2] fix: lint scss --- lib/fonts/_hei.scss | 2 +- lib/fonts/_song.scss | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/fonts/_hei.scss b/lib/fonts/_hei.scss index 3e9130d..f3877e2 100644 --- a/lib/fonts/_hei.scss +++ b/lib/fonts/_hei.scss @@ -223,7 +223,7 @@ local("Noto Sans CJK KR Heavy"); } -font-face { +@font-face { font-family: "Heti Hei SC Black Fallback"; font-weight: 800; src: diff --git a/lib/fonts/_song.scss b/lib/fonts/_song.scss index 3d850c8..2fbaa75 100644 --- a/lib/fonts/_song.scss +++ b/lib/fonts/_song.scss @@ -23,8 +23,7 @@ @font-face { font-family: "Heti Song Light Fallback"; font-weight: 200; - src: - local("SimSun"); + src: local("SimSun"); } // 粗体 Bold @@ -40,8 +39,7 @@ @font-face { font-family: "Heti Song Bold Fallback"; font-weight: 600; - src: - local("SimSun"); + src: local("SimSun"); } // 黑体 Black From 6b03d2e350799597d6d822d31ee50bcc94d9d977 Mon Sep 17 00:00:00 2001 From: Yishuai Li Date: Wed, 2 Mar 2022 16:43:21 -0500 Subject: [PATCH 2/2] ci: lint pull requests --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6ebebd8..c35b70f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,7 +2,7 @@ name: Node CI -on: [push] +on: [push, pull_request] jobs: build: