|
99 | 99 | path: dist-dev/create-qwik/ |
100 | 100 | if-no-files-found: error |
101 | 101 |
|
| 102 | + - name: Build Eslint rules |
| 103 | + run: node scripts --eslint |
| 104 | + |
| 105 | + - name: Print Eslint rules Dist Build |
| 106 | + run: tree dist-dev/eslint-plugin-qwik/ |
| 107 | + |
| 108 | + - name: Upload Eslint rules Build Artifacts |
| 109 | + uses: actions/upload-artifact@master |
| 110 | + with: |
| 111 | + name: dist-dev-eslint-plugin-qwik |
| 112 | + path: dist-dev/eslint-plugin-qwik/ |
| 113 | + if-no-files-found: error |
| 114 | + |
102 | 115 | ############ BUILD WASM ############ |
103 | 116 | build-wasm: |
104 | 117 | name: Build WASM |
@@ -371,6 +384,8 @@ jobs: |
371 | 384 | mv builderio-qwik-distribution/* dist-dev/@builder.io-qwik/ |
372 | 385 | mkdir dist-dev/create-qwik/ |
373 | 386 | mv dist-dev-create-qwik/* dist-dev/create-qwik/ |
| 387 | + mkdir dist-dev/eslint-plugin-qwik/ |
| 388 | + mv dist-dev-eslint-plugin-qwik/* dist-dev/eslint-plugin-qwik/ |
374 | 389 |
|
375 | 390 | - name: Cache NPM Dependencies |
376 | 391 | uses: actions/cache@v2 |
@@ -417,9 +432,6 @@ jobs: |
417 | 432 | - host: macos-latest |
418 | 433 | browser: webkit |
419 | 434 | node: 14.x |
420 | | - - host: windows-latest |
421 | | - browser: firefox |
422 | | - node: 12.x |
423 | 435 |
|
424 | 436 | runs-on: ${{ matrix.settings.host }} |
425 | 437 |
|
@@ -447,6 +459,8 @@ jobs: |
447 | 459 | mv builderio-qwik-distribution/* dist-dev/@builder.io-qwik/ |
448 | 460 | mkdir dist-dev/create-qwik/ |
449 | 461 | mv dist-dev-create-qwik/* dist-dev/create-qwik/ |
| 462 | + mkdir dist-dev/eslint-plugin-qwik/ |
| 463 | + mv dist-dev-eslint-plugin-qwik/* dist-dev/eslint-plugin-qwik/ |
450 | 464 |
|
451 | 465 | - name: Cache NPM Dependencies |
452 | 466 | if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
@@ -480,29 +494,24 @@ jobs: |
480 | 494 |
|
481 | 495 | steps: |
482 | 496 | - name: Setup Node |
483 | | - if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
484 | 497 | uses: actions/setup-node@v1 |
485 | 498 | with: |
486 | 499 | node-version: 16.x |
487 | 500 | registry-url: https://registry.npmjs.org/ |
488 | 501 |
|
489 | 502 | - name: Checkout |
490 | | - if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
491 | 503 | uses: actions/checkout@v2 |
492 | 504 |
|
493 | 505 | - name: Cache NPM Dependencies |
494 | | - if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
495 | 506 | uses: actions/cache@v2 |
496 | 507 | with: |
497 | 508 | path: node_modules |
498 | 509 | key: npm-cache-${{ runner.os }}-${{ hashFiles('yarn.lock') }} |
499 | 510 |
|
500 | 511 | - name: Install NPM Dependencies |
501 | | - if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
502 | 512 | run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
503 | 513 |
|
504 | 514 | - name: Jest Unit Tests |
505 | | - if: ${{ needs.changes.outputs.fullbuild == 'true' }} |
506 | 515 | run: yarn test.unit |
507 | 516 |
|
508 | 517 | ########### VALIDATE RUST ############ |
|
0 commit comments