Skip to content

Fix: use node24 runtime, revert bun target to node #7

Fix: use node24 runtime, revert bun target to node

Fix: use node24 runtime, revert bun target to node #7

Workflow file for this run

name: Test action
on:
workflow_dispatch:
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
test:
name: Integration test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Configure AWS credentials (OIDC)
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Run SSM command
uses: ./
with:
aws-region: ${{ secrets.AWS_REGION }}
instance-ids: ${{ secrets.INSTANCE_ID }}
working-directory: /home/ubuntu/
comment: aws-ssm-action CI test
command: |
echo "Hello from GitHub Actions!" >> logs.txt
echo $(date) >> logs.txt
cat logs.txt