update ci for node and vue (#479)
This commit is contained in:
parent
118d185d4c
commit
7491b01d40
|
@ -4,56 +4,41 @@ on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
free-solid-svg-icons: [
|
free-solid-svg-icons: [5.x, 6.x]
|
||||||
5.x,
|
fontawesome-svg-core: [1.2.x, 6.x]
|
||||||
6.x
|
node-version: [14.x, 16.x, 18.x, 20.x]
|
||||||
]
|
vue: [3.0.x, 3.1.x, 3.2.x, 3.3.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:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: v5 install, build, and test
|
- name: v5 install, build, and test
|
||||||
if: ${{ matrix.free-solid-svg-icons }} == '5.x'
|
if: ${{ matrix.free-solid-svg-icons }} == '5.x'
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm
|
npm install -g npm@8
|
||||||
npm install
|
npm install
|
||||||
npm install --no-save @fortawesome/fontawesome-svg-core@1.2.x @fortawesome/free-solid-svg-icons@5.x vue@${{ matrix.vue }}
|
npm install --no-save @fortawesome/fontawesome-svg-core@1.2.x @fortawesome/free-solid-svg-icons@5.x vue@${{ matrix.vue }}
|
||||||
npm run build
|
npm run build
|
||||||
npm list vue
|
npm list vue
|
||||||
npm run test
|
npm run test
|
||||||
- name: v6 install, build, and test
|
- name: v6 install, build, and test
|
||||||
if: ${{ matrix.free-solid-svg-icons }} == '6.x'
|
if: ${{ matrix.free-solid-svg-icons }} == '6.x'
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm
|
npm install -g npm@8
|
||||||
npm install
|
npm install
|
||||||
npm install --no-save @fortawesome/fontawesome-svg-core@6.x @fortawesome/free-solid-svg-icons@6.x vue@${{ matrix.vue }}
|
npm install --no-save @fortawesome/fontawesome-svg-core@6.x @fortawesome/free-solid-svg-icons@6.x vue@${{ matrix.vue }}
|
||||||
npm run build
|
npm run build
|
||||||
npm list vue
|
npm list vue
|
||||||
npm run test
|
npm run test
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: dist
|
- name: dist
|
||||||
run: |
|
run: |
|
||||||
npm run dist
|
npm run dist
|
||||||
|
|
Loading…
Reference in New Issue