mirror of
https://github.com/Azure/setup-kubectl
synced 2025-09-23 12:07:59 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Some checks failed
CodeQL Advanced / Analyze (javascript-typescript) (push) Failing after 22s
Integration test for setup-kubectl / Validate release and master branch (push) Failing after 1s
Run prettify / Prettier Check (push) Failing after 1s
Run unit tests. / build (push) Failing after 1s
21 lines
496 B
YAML
21 lines
496 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Build and run L0 tests.
|
|
run: |
|
|
npm install
|
|
npm test
|