Skip to content

Fixes for redhat yaml extension #795

Fixes for redhat yaml extension

Fixes for redhat yaml extension #795

Workflow file for this run

name: Check build
on:
pull_request:
branches:
- main
jobs:
lint-commits:
name: Lint commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# we actually need "github.event.pull_request.commits + 1" commit
fetch-depth: 0
- name: Volta
uses: volta-cli/action@v4
- run: npm ci --ignore-scripts
- run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
check:
name: Check build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install libkrb5-dev
- name: Volta
uses: volta-cli/action@v4
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Release dry run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release -- --dry-run
- name: Install demo dependencies
working-directory: ./demo
run: npm ci
- name: Build demo
working-directory: ./demo
run: npm run build