github.com/nektos/act@v0.2.63/pkg/runner/testdata/remote-action-js-node-user/push.yml (about)

     1  name: remote-action-js
     2  on: push
     3  
     4  jobs:
     5    test:
     6      runs-on: ubuntu-latest
     7      container:
     8        image: node:16-buster-slim
     9        options: --user node
    10      steps:
    11      - name: check permissions of env files
    12        id: test
    13        run: |
    14          echo "USER: $(id -un) expected: node"
    15          [[ "$(id -un)" = "node" ]]
    16          echo "TEST=Value" >> $GITHUB_OUTPUT
    17        shell: bash
    18  
    19      - name: check if file command worked
    20        if: steps.test.outputs.test != 'Value'
    21        run: |
    22          echo "steps.test.outputs.test=${{ steps.test.outputs.test || 'missing value!' }}"
    23          exit 1
    24        shell: bash
    25  
    26      - uses: actions/hello-world-javascript-action@v1
    27        with:
    28          who-to-greet: 'Mona the Octocat'
    29  
    30      - uses: cloudposse/actions/github/slash-command-dispatch@0.14.0