Skip to content

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

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

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

Workflow file for this run

name: substitute
on:
pull_request:
paths:
- substitute/**
- '*.json'
- .github/workflows/substitute.yaml
push:
branches:
- main
paths:
- substitute/**
- '*.json'
- .github/workflows/substitute.yaml
defaults:
run:
working-directory: substitute
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: ./substitute
with:
files: |
${{ github.workspace }}/substitute/tests/fixtures/a/generated.yaml
${{ github.workspace }}/substitute/tests/fixtures/b/generated.yaml
path-variables-pattern: |
${{ github.workspace }}/substitute/tests/fixtures/${service_name}/**
variables: |
DOCKER_IMAGE=123456789012.dkr.ecr.ap-northeast-1.amazonaws.com/deploy-actions/${service_name}:latest
NAMESPACE=develop
- run: git diff