Skip to content

yaml paste fix + simnode quick tmpl selector fix #138

yaml paste fix + simnode quick tmpl selector fix

yaml paste fix + simnode quick tmpl selector fix #138

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-output
path: dist/
retention-days: 7
# --- Playwright E2E temporarily disabled — uncomment below and pr-check-summary to re-enable ---
# e2e-tests:
# needs: build-and-lint
# runs-on: ubuntu-latest
# timeout-minutes: 60
# strategy:
# fail-fast: false
# matrix:
# browser: [chromium, firefox, webkit]
# steps:
# - uses: actions/checkout@v4
#
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: "npm"
#
# - name: Install dependencies
# run: npm ci
#
# - name: Install Playwright Browsers
# run: npx playwright install --with-deps
#
# - name: Run Playwright tests (${{ matrix.browser }})
# run: npx playwright test --project=${{ matrix.browser }}
#
# - name: Upload Playwright report
# uses: actions/upload-artifact@v4
# if: ${{ !cancelled() }}
# with:
# name: playwright-report-${{ matrix.browser }}
# path: playwright-report/
# retention-days: 30
# ---------------------------------------------------------------------------------------------
pr-check-summary:
if: always()
needs: [build-and-lint]
# needs: [build-and-lint, e2e-tests]
runs-on: ubuntu-latest
steps:
- name: Check job results
run: |
if [[ "${{ needs.build-and-lint.result }}" != "success" ]]; then
echo "Build and lint job failed"
exit 1
fi
# if [[ "${{ needs.e2e-tests.result }}" != "success" ]]; then
# echo "E2E tests job failed"
# exit 1
# fi
echo "All checks passed!"