Skip to content

Commit e5ef078

Browse files
udpate test workflow
1 parent ebcfa3b commit e5ef078

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,17 @@ env:
66
FORCE_COLOR: 2
77
jobs:
88
full:
9-
name: Node.js 15 Full
9+
name: Node.js 18 Full
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout the repository
13-
uses: actions/checkout@v2
14-
- name: Install Node.js
15-
uses: actions/setup-node@v2
13+
uses: actions/checkout@v3
14+
- name: Setup node
15+
uses: actions/setup-node@v3
1616
with:
17-
node-version: 15
18-
- name: Install dependencies
19-
uses: bahmutov/npm-install@v1
20-
- name: Run tests
21-
run: yarn test
22-
short:
23-
runs-on: ubuntu-latest
24-
strategy:
25-
matrix:
26-
node-version:
27-
- 14
28-
- 12
29-
- 10
30-
name: Node.js ${{ matrix.node-version }} Quick
31-
steps:
32-
- name: Checkout the repository
33-
uses: actions/checkout@v2
34-
- name: Install Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v2
36-
with:
37-
node-version: ${{ matrix.node-version }}
38-
- name: Install dependencies
39-
uses: bahmutov/npm-install@v1
40-
- name: Run unit tests
41-
run: npx jest
17+
node-version: 18
18+
- name: Install and run tests
19+
run: |
20+
npm ci
21+
npm run build --if-present
22+
npm run test --if-present

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# postcss-fontify
1+
# PostCSS Fontify
22

33
[PostCSS](https://github.com/postcss/postcss) plugin for generating font-face declarations from font files in a directory.
44
Only font files with extensions woff2, woff, ttf, and otf will be recognized and used by the plugin. Any other files with different extensions in the same directory will not be considered. Additionally, the files in the directory must be named in accordance with a specific convention.

0 commit comments

Comments
 (0)