feat: Add suggestions to no-console #7937
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
verify_files: | |
name: Verify Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install Packages | |
run: npm install | |
- name: Lint Files | |
run: node Makefile lint | |
- name: Check Rule Files | |
run: node Makefile checkRuleFiles | |
- name: Check Licenses | |
run: node Makefile checkLicenses | |
- name: Install Docs Packages | |
working-directory: docs | |
run: npm install | |
- name: Stylelint Docs | |
working-directory: docs | |
run: npm run lint:scss | |
- name: Lint Docs JS Files | |
run: node Makefile lintDocsJS | |
- name: Build Docs Website | |
working-directory: docs | |
run: npm run build | |
- name: Validate internal links | |
working-directory: docs | |
run: npm run lint:links | |
test_on_node: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [21.x, 20.x, 19.x, 18.x, 17.x, 16.x, 14.x, 12.x, "12.22.0"] | |
include: | |
- os: windows-latest | |
node: "lts/*" | |
- os: macOS-latest | |
node: "lts/*" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Packages | |
run: npm install | |
- name: Test | |
run: node Makefile mocha | |
- name: Fuzz Test | |
run: node Makefile fuzz | |
test_on_browser: | |
name: Browser Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install Packages | |
run: npm install | |
- name: Test | |
run: node Makefile wdio | |
- name: Fuzz Test | |
run: node Makefile fuzz | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: logs | |
path: | | |
wdio-logs/*.log |