GitHub Actions 1 · Workflow basics

Run several commands

Use a block scalar to run a multi-line script in one step.

- run: |
    npm ci
    npm run build

Official GitHub Actions 1 documentation

More workflow basics commands

All workflow basics commands · GitHub Actions 1 cheatsheet

Was this page helpful?