chore(release): 3.0.0-beta.51 #3
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: 'Code quality verify' | |
on: | |
push: | |
branches: [main, v2, 3.0.0-beta] | |
pull_request: | |
branches: [main, v2, 3.0.0-beta] | |
jobs: | |
analyze: | |
name: 'CodeQL code quality analysis' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['javascript'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
run-tests: | |
needs: analyze | |
name: 'Run tests' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Test | |
run: | | |
yarn install | |
yarn lint | |
yarn test:ci | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
env: | |
NODE_COVERALLS_DEBUG: 1 | |
with: | |
github-token: ${{ github.token }} |