Skip to content

Update dependency @types/node to v20.8.10 (#1197) #1414

Update dependency @types/node to v20.8.10 (#1197)

Update dependency @types/node to v20.8.10 (#1197) #1414

name: git-push-services-from-prebuilt
on:
pull_request:
paths:
- git-push-services-from-prebuilt/**
- '*.json'
- .github/workflows/git-push-services-from-prebuilt.yaml
push:
branches:
- main
paths:
- git-push-services-from-prebuilt/**
- '*.json'
- .github/workflows/git-push-services-from-prebuilt.yaml
defaults:
run:
working-directory: git-push-services-from-prebuilt
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn test
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn build
- run: yarn package
- uses: ./git-push-services-from-prebuilt
with:
prebuilt-directory: git-push-services-from-prebuilt/tests/fixtures/prebuilt
overlay: e2e-git-push-services-from-prebuilt
namespace: ns-${{ github.run_number }}
destination-repository: ${{ github.repository }}
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ns/monorepo-deploy-actions/e2e-git-push-services-from-prebuilt/ns-${{ github.run_number }}
path: git-push-services-from-prebuilt/actual
- run: find actual -type f
- run: cat actual/applications/ns-${{ github.run_number }}--a.yaml
- run: cat actual/applications/ns-${{ github.run_number }}--b.yaml
- run: cat actual/services/a/generated.yaml
- run: cat actual/services/b/generated.yaml
- name: clean up the branch
continue-on-error: true
if: always()
run: |
git push origin --delete refs/heads/ns/monorepo-deploy-actions/e2e-git-push-services-from-prebuilt/ns-${{ github.run_number }}