+
Skip to content

MWPW-176278 Update query to always get input value #32

MWPW-176278 Update query to always get input value

MWPW-176278 Update query to always get input value #32

name: Test and Coverage
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '**.js'
- 'test/**'
- 'unitylibs/**'
push:
branches: [ main, stage ]
jobs:
test:
name: Running Unit Tests with Coverage
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests with coverage check
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage/lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
verbose: true
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载