Skip to content

Fix tag existence check in release workflow #91

Fix tag existence check in release workflow

Fix tag existence check in release workflow #91

Workflow file for this run

#
# Copyright (c) 2021-2025 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: PR
on:
pull_request:
branches: ['*']
jobs:
build-and-test:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
-
name: "Checkout source code"
uses: actions/checkout@v4
-
name: "Use Node.js ${{ matrix.node-version }}"
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
-
name: "Install dependencies"
run: npm ci
-
name: "Run linters"
run: npm run lint
-
name: "Run license header check"
run: npm run header:check
-
name: "Run type check"
run: npm run type-check
-
name: "Build"
run: npm run build
-
name: "Run unit tests"
run: npm run test:unit
-
name: "Run all tests with coverage"
run: npm run test:coverage