azure-setup-kubectl/.github/workflows/unit-tests.yml
David Gamero 6522dcd602
Some checks failed
Run prettify / Prettier Check (push) Has been cancelled
Release Project / release (push) Has been cancelled
Run unit tests. / build (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration test for setup-kubectl / Validate release and master branch (push) Has been cancelled
release: prepare v5.1.0 (#249)
* release: prepare v5.1.0 — ESM migration with esbuild/vitest

* sync package-lock.json version to 5.1.0

* add version sync check to pre-commit hook

* regenerate package-lock.json for npm ci compatibility
2026-04-15 09:59:13 +12:00

22 lines
524 B
YAML

name: 'Run unit tests.'
on: # rebuild any PRs and main branch changes
pull_request:
branches:
- main
- 'releases/*'
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci works properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build and run L0 tests.
run: |
npm install
npm run build
npm test