ci: another way of changing library
This commit is contained in:
parent
210ab65c94
commit
14aa1fed83
1 changed files with 8 additions and 1 deletions
9
.github/workflows/push.yml
vendored
9
.github/workflows/push.yml
vendored
|
|
@ -56,7 +56,14 @@ jobs:
|
|||
- name: Install edge version of whatsapp-web.js
|
||||
if: github.ref_name == 'edge'
|
||||
run: |
|
||||
npm install github:pedroslopez/whatsapp-web.js#main
|
||||
npm install --save-exact github:pedroslopez/whatsapp-web.js#main
|
||||
- name: Verify edge version update
|
||||
if: github.ref_name == 'edge'
|
||||
run: |
|
||||
echo "package.json content:"
|
||||
grep "whatsapp-web.js" package.json
|
||||
echo "package-lock.json content:"
|
||||
grep -A 5 '"whatsapp-web.js"' package-lock.json | head -10
|
||||
- name: Build and push with dynamic tag
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue