48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
pipeline:
|
|
build:
|
|
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
|
pull: true
|
|
settings:
|
|
actions: build
|
|
folder: wasm/connect-four-rust
|
|
target: web
|
|
scope: game-algorithms
|
|
when:
|
|
path:
|
|
include:
|
|
- wasm/connect-four-rust/*
|
|
- .woodpecker/wasm-connect-four-rust.yml
|
|
ignore_message: "[ALL]"
|
|
test:
|
|
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
|
pull: true
|
|
settings:
|
|
actions: test
|
|
folder: wasm/connect-four-rust
|
|
when:
|
|
path:
|
|
include:
|
|
- wasm/connect-four-rust/*
|
|
- .woodpecker/wasm-connect-four-rust.yml
|
|
ignore_message: "[ALL]"
|
|
publish:
|
|
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
|
pull: true
|
|
settings:
|
|
actions: publish
|
|
folder: wasm/connect-four-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/connect-four-rust/*
|
|
- .woodpecker/wasm-connect-four-rust.yml
|
|
ignore_message: "[ALL]"
|
|
depends_on:
|
|
- tools-wasm-pack-plugin
|