-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update workflows ci * fix spelling mistake * add free solid svg icons to ci * update ci to install free solid icons * remove extra vue imstall * one more try ci
- Loading branch information
1 parent
aed76ee
commit 4241f0d
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,48 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
free-solid-svg-icons: [ | ||
5.x, | ||
6.x | ||
] | ||
fontawesome-svg-core: [ | ||
1.2.x, | ||
6.x | ||
] | ||
node-version: [ | ||
14.x, | ||
16.x, | ||
18.x | ||
] | ||
vue: [ | ||
3.0.x, | ||
3.1.x, | ||
3.2.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: install, build, and test | ||
- name: v5 install, build, and test | ||
if: ${{ matrix.free-solid-svg-icons }} == '5.x' | ||
run: | | ||
npm install -g npm | ||
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 | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,7 @@ | |
"scripts": { | ||
"build": "rollup -c rollup.config.js", | ||
"dist": "cross-env NODE_ENV=production npm run build", | ||
"test": "npm run test.5 && npm run test.6", | ||
"test.5": "npm --no-save install @fortawesome/[email protected] @fortawesome/[email protected] && jest --silent", | ||
"test.6": "npm --no-save install @fortawesome/[email protected] @fortawesome/[email protected] && jest --silent", | ||
"test": "jest --silent", | ||
"prepack": "npm run dist" | ||
}, | ||
"lint-staged": { | ||
|