This commit is contained in:
parent
d081c4995b
commit
20732b23d9
@ -3,7 +3,7 @@ name: release
|
||||
|
||||
steps:
|
||||
- name: create-script-file
|
||||
image: node:14
|
||||
image: alpine:3.13
|
||||
commands:
|
||||
- echo "const axios = require('axios');" > custom-script.js
|
||||
- echo "" >> custom-script.js
|
||||
@ -28,8 +28,8 @@ steps:
|
||||
- echo " console.log('The new release is older than the one I have.');" >> custom-script.js
|
||||
- echo "}" >> custom-script.js
|
||||
- echo "" >> custom-script.js
|
||||
|
||||
- name: run
|
||||
image: node:14
|
||||
commands:
|
||||
- npm install axios # Install axios using npm
|
||||
- node custom-script.js # Run the script
|
||||
- node custom-script.js
|
Loading…
x
Reference in New Issue
Block a user