Skip to content

Commit 224e2f5

Browse files
authored
Vue2 - update workflows ci (FortAwesome#380)
* update workflows ci * change test script * fix tests * ci wip * fixup yarn lock
1 parent 10405b0 commit 224e2f5

File tree

4 files changed

+1389
-1899
lines changed

4 files changed

+1389
-1899
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,25 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [14.x, 16.x, 18.x]
12+
free-solid-svg-icons: [
13+
5.x,
14+
6.x
15+
]
16+
fontawesome-svg-core: [
17+
1.2.x,
18+
6.x
19+
]
20+
node-version: [
21+
14.x,
22+
16.x,
23+
18.x
24+
]
25+
vue: [
26+
2.4.x,
27+
2.5.x,
28+
2.6.x,
29+
2.7.x
30+
]
1331

1432
steps:
1533
- uses: actions/checkout@v1
@@ -19,9 +37,14 @@ jobs:
1937
node-version: ${{ matrix.node-version }}
2038
- name: install, build, and test
2139
run: |
40+
npm install -g npm
2241
npm install
42+
npm install --no-save @fortawesome/fontawesome-svg-core@${{ matrix.fontawesome-svg-core }} @fortawesome/free-solid-svg-icons@${{ matrix.free-solid-svg-icons }} vue@${{ matrix.vue }}
2343
npm run build
24-
npm run test
44+
npm install --no-save vue@${{ matrix.vue }}
45+
npm list vue
46+
npm run test.5
47+
npm run test.6
2548
env:
2649
CI: true
2750
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 16.14.0
1+
nodejs 18.4.0
22
python 3.7.5

0 commit comments

Comments
 (0)