This is my first foray into action and I’ve been staring at this for hours now and can’t figure out why this workflow is failing. I’ve double and triple-checked with other online examples and it seems like I’m compliant. Can anyone that has experience with actions help me figure out what I’m missing please?
There are indentation problems in your workflow. In YAML indentation determines structure, like in Python. Your
with settings need to be part of the same object (the step), so they must be on the same indentation level. Same for
run in the steps below, like so:
- name: Use node uses: actions/setup-node@v2 with: node-version: '12.13.0' check-latest: true - name: Install dependencies run: npm ci
@airtower-luna That indeed did the trick. Prettier formatting the file also was not helping. Thank you so much.