-
Notifications
You must be signed in to change notification settings - Fork 134
44 lines (40 loc) · 1.25 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
free-solid-svg-icons: [5.x, 6.x]
fontawesome-svg-core: [1.2.x, 6.x]
node-version: [16.x, 18.x, 20.x]
vue: [3.0.x, 3.1.x, 3.2.x, 3.3.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: v5 install, build, and test
if: ${{ matrix.free-solid-svg-icons }} == '5.x'
run: |
npm install -g npm@8
npm install
npm install --no-save @fortawesome/[email protected] @fortawesome/[email protected] vue@${{ matrix.vue }}
npm run build
npm list vue
npm run test
- name: v6 install, build, and test
if: ${{ matrix.free-solid-svg-icons }} == '6.x'
run: |
npm install -g npm@8
npm install
npm install --no-save @fortawesome/[email protected] @fortawesome/[email protected] vue@${{ matrix.vue }}
npm run build
npm list vue
npm run test
env:
CI: true
- name: dist
run: |
npm run dist