build(deps-dev): bump @types/node from 20.12.12 to 22.2.0 #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sanity test of run-oci-cli-command | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
test-action: | |
name: Sanity test run-oci-cli-command action | |
runs-on: ubuntu-latest | |
env: | |
OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }} | |
OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }} | |
OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }} | |
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }} | |
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get object storage namespace | |
id: test-action-get-os-ns | |
uses: ./ | |
with: | |
command: 'iam compartment list --compartment-id-in-subtree=true' | |
query: "data[?name=='github-actions'].id" | |
silent: false | |
- name: Echo object storage namespace | |
id: echo-os-ns-get | |
run: | | |
echo "Output: ${{ steps.test-action-get-os-ns.outputs.output}}" | |
echo "Raw output: ${{ steps.test-action-get-os-ns.outputs.raw_output}}" | |
- name: Test non-JSON output | |
id: test-non-json-output | |
uses: ./ | |
with: | |
command: --output=table iam region list | |
silent: false |