mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-15 01:06:43 +00:00
27 lines
613 B
YAML
27 lines
613 B
YAML
name: CI - Build & Test
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
paths-ignore:
|
|
- '**.md'
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: helm/kind-action@v1.2.0
|
|
- uses: actions/checkout@v3
|
|
- run: npm install
|
|
name: Install dependencies
|
|
- run: npm run bootstrap
|
|
name: Bootstrap the packages
|
|
- run: npm run build-all
|
|
name: Build packages
|
|
- run: npm run format-check
|
|
- name: Check linter
|
|
run: |
|
|
npm run lint
|
|
git diff --exit-code
|
|
- name: Run tests
|
|
run: npm run test |