ci: fix workflow by ensuring dependencies are installed before n8n-cli #2
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: [master] | |
| name: Verify Build | |
| jobs: | |
| run-tests: | |
| runs-on: linux-x64 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "24" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Install n8n-cli | |
| run: npm install --global @n8n/node-cli | |
| - name: Build | |
| run: n8n-node build |