ci: change steps order
This commit is contained in:
parent
3f619b2407
commit
ee6e6f9391
1 changed files with 2 additions and 2 deletions
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue