Skip to content

Bump @types/node from 22.10.1 to 22.10.2 in the all group #81

Bump @types/node from 22.10.1 to 22.10.2 in the all group

Bump @types/node from 22.10.1 to 22.10.2 in the all group #81

name: Integration Tests
on:
pull_request:
branches:
- main
- "releases/*"
push:
branches:
- main
- "releases/*"
workflow_dispatch:
jobs:
run-integration-test:
name: Run Integration Tests
runs-on: ubuntu-latest
env:
KUBECONFIG: /home/runner/.kube/config
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
rm -rf node_modules/
npm install
- name: Build
run: npm run build
- name: Execute artifact-substitute action
uses: ./
with:
images: |
nginx:custom-tag
contoso:latest
manifests: |
test/integration/manifests/
id: artifact-sub
- name: Ensure output matches expected
uses: OliverMKing/yaml-compare@v2
with:
file1Path: ${{ steps.artifact-sub.outputs.directory }}/test-ingress.yml
file2Path: test/integration/expected/test-ingress.yml
- name: Ensure output matches expected
uses: OliverMKing/yaml-compare@v2
with:
file1Path: ${{ steps.artifact-sub.outputs.directory }}/test-service.yml
file2Path: test/integration/expected/test-service.yml
- name: Ensure output matches expected
uses: OliverMKing/yaml-compare@v2
with:
file1Path: ${{ steps.artifact-sub.outputs.directory }}/nested-test-ingress.yaml
file2Path: test/integration/expected/nested/nested-test-ingress.yaml