Skip to content

fix: logic issue if testResults is only success #1947

fix: logic issue if testResults is only success

fix: logic issue if testResults is only success #1947

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 1'
env:
REGISTRY: ghcr.io
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
language: ['javascript']
node-version: [18.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test -- --coverage
- run: npm run build -- --no-minify
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- run: npm run docker_build