ci: change steps order

This commit is contained in:
Anton Voylenko 2025-12-09 20:03:02 +02:00
commit ee6e6f9391

View file

@ -20,12 +20,12 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: "${{ matrix.node-version }}" node-version: "${{ matrix.node-version }}"
- name: Install dependencies
run: npm ci
- name: Install edge version of whatsapp-web.js - name: Install edge version of whatsapp-web.js
if: github.ref_name == 'edge' if: github.ref_name == 'edge'
run: | run: |
npm install --save-exact github:pedroslopez/whatsapp-web.js#main npm install --save-exact github:pedroslopez/whatsapp-web.js#main
- name: Install dependencies
run: npm ci
- name: Run tests - name: Run tests
run: npm test run: npm test
timeout-minutes: 5 timeout-minutes: 5