fix: bump kubernetes-client and fix deprecated k8s auto-scaler API #414
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: PR Infrastructure action | |
env: | |
CONTAINER: infrastructure | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/pr_infrastructure.yaml" | |
- "build/**" | |
- "code/yarn.lock" | |
- "code/workspaces/common/**" | |
- "code/workspaces/infrastructure-api/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: npm-cache-${{ env.CONTAINER }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: npm-cache-${{ env.CONTAINER }}- | |
- name: Set up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Validate build | |
run: ./build/validate-build.sh ${{ env.CONTAINER }} | |
shell: bash |