Skip to content

Commit

Permalink
update ci for node and vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlundien committed Oct 6, 2023
1 parent 118d185 commit dfb32cc
Showing 1 changed file with 32 additions and 47 deletions.
79 changes: 32 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,41 @@ 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: [
14.x,
16.x,
18.x
]
vue: [
3.0.x,
3.1.x,
3.2.x
]
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
npm install
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 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/fontawesome-svg-core@6.x @fortawesome/free-solid-svg-icons@6.x vue@${{ matrix.vue }}
npm run build
npm list vue
npm run test
env:
CI: true
- name: dist
run: |
npm run dist
- 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
npm install
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 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/fontawesome-svg-core@6.x @fortawesome/free-solid-svg-icons@6.x vue@${{ matrix.vue }}
npm run build
npm list vue
npm run test
env:
CI: true
- name: dist
run: |
npm run dist

0 comments on commit dfb32cc

Please sign in to comment.