Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sthope 2023-08-28 19:00:28 +02:00
parent c3194ce3a8
commit d081c4995b

View File

@ -3,9 +3,8 @@ name: release
steps: steps:
- name: create-script-file - name: create-script-file
image: node:14-alpine image: node:14
commands: commands:
- apk add --no-cache npm # Install npm in Alpine Linux
- echo "const axios = require('axios');" > custom-script.js - echo "const axios = require('axios');" > custom-script.js
- echo "" >> custom-script.js - echo "" >> custom-script.js
- echo "function getLatestReleaseTag() {" >> custom-script.js - echo "function getLatestReleaseTag() {" >> custom-script.js
@ -30,7 +29,7 @@ steps:
- echo "}" >> custom-script.js - echo "}" >> custom-script.js
- echo "" >> custom-script.js - echo "" >> custom-script.js
- name: run - name: run
image: node:14-alpine image: node:14
commands: commands:
- npm install axios # Install axios using npm - npm install axios # Install axios using npm
- node custom-script.js # Run the script - node custom-script.js # Run the script