diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 945c28aa9..4266cd736 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,26 +4,33 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.x, 16.x, 18.x] + strategy: + matrix: + node: [ + 14.x, + 16.x, + 18.x + ] + vue: [ + 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: install, build, and test - run: | - npm install - npm run build - npm run test - env: - CI: true - - name: dist - run: | - npm run dist + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: npm install, build, and test + run: | + npm install + npm run build + npm install vue@${{ matrix.vue }} + npm list vue + npm run lint + npm run test.5 + npm run test.6 + - name: dist + run: | + npm run dist