game-algorithms/.woodpecker/wasm-o-x-rust.yml

48 lines
1.1 KiB
YAML

pipeline:
build:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: build
folder: wasm/o-x-rust
target: web
scope: game-algorithms
when:
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml
ignore_message: "[ALL]"
test:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: test
folder: wasm/o-x-rust
when:
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml
ignore_message: "[ALL]"
publish:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: publish
folder: wasm/o-x-rust
scope: game-algorithms
username: cyclane
token:
from_secret: DEPLOY_TOKEN
registry: https://git.koval.net/api/packages/cyclane/npm/
when:
branch: main
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml
ignore_message: "[ALL]"
depends_on:
- tools-wasm-pack-plugin