Skip to content

Update actions/setup-node action to v4 (.github/workflows) #2362

Update actions/setup-node action to v4 (.github/workflows)

Update actions/setup-node action to v4 (.github/workflows) #2362

name: resolve-aws-secret-version
on:
pull_request:
paths:
- resolve-aws-secret-version/**
- '*.json'
- .github/workflows/resolve-aws-secret-version.yaml
push:
branches:
- main
paths:
- resolve-aws-secret-version/**
- '*.json'
- .github/workflows/resolve-aws-secret-version.yaml
defaults:
run:
working-directory: resolve-aws-secret-version
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: ./resolve-aws-secret-version
id: resolve
with:
manifests: resolve-aws-secret-version/tests/fixtures/input-with-no-placeholder.yaml
- run: git diff --exit-code