Bump @types/node from 22.5.2 to 22.5.4 in the actions group #146
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration test for setup-kubectl | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
branches: | |
- main | |
- 'releases/*' | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
run-integration-test: | |
name: Validate release and master branch | |
runs-on: ubuntu-latest | |
env: | |
KUBECONFIG: /home/runner/.kube/config | |
PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout from PR branch | |
- id: action-npm-build | |
name: npm install and build | |
run: | | |
echo $PR_BASE_REF | |
if [[ $PR_BASE_REF != releases/* ]]; then | |
npm install | |
npm run build | |
fi | |
- uses: actions/setup-python@v2 | |
name: Install Python | |
with: | |
python-version: '3.x' | |
- name: Install requests library | |
run: pip install requests | |
- name: Validate kubectl setup | |
run: python test/validate-kubectl.py latest | |
- name: Setup kubectl | |
uses: ./ | |
with: | |
version: 'v1.15.1' | |
- name: Validate kubectl setup | |
run: python test/validate-kubectl.py 'v1.15.1' |