You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wattpad-deno/.woodpecker/.node.yml

23 lines
580 B

pipeline:
build:
image: curlimages/curl:7.87.0
commands:
- su -c 'whoami'
- curl -fsSL https://deno.land/x/install/install.sh | sh
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | sh
- nvm install node
- nvm use node
- deno test -A buildNode.ts
deploy:
image: plugins/npm
settings:
token: NPM_API_KEY
folder: npm
secrets: [NPM_API_KEY]
when:
event: tag
depends_on:
- lint
- test