Fix plugin and upgrade frontend [ALL]
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline failed Details
ci/woodpecker/push/wasm-o-x-rust unknown status Details
ci/woodpecker/push/frontend unknown status Details

This commit is contained in:
Gleb Koval 2022-08-09 09:41:51 +00:00
parent 49816e8659
commit 5061f593dd
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
3 changed files with 17 additions and 2 deletions

View File

@ -4,18 +4,33 @@ pipeline:
commands:
- cd frontend
- npm install --save-dev
when:
path:
include:
- frontend/*
- .woodpecker/frontend.yml
eslint:
image: node:alpine
commands:
- cd frontend
- npm run lint
group: build
when:
path:
include:
- frontend/*
- .woodpecker/frontend.yml
svelte:
image: node:alpine
commands:
- cd frontend
- npm run build
group: build
when:
path:
include:
- frontend/*
- .woodpecker/frontend.yml
docker build:
image: plugins/docker
settings:

View File

@ -32,6 +32,6 @@
},
"type": "module",
"dependencies": {
"@game-algorithms/o-x-rust": "^0.0.9"
"@game-algorithms/o-x-rust": "^0.1.0"
}
}

View File

@ -35,7 +35,7 @@ if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)build(,|$)' ]]; then
fi
fi
if [[ "${PLUGIN_ACTTIONS}" =~ '(^|,)test(,|$)' ]]; then
if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)test(,|$)' ]]; then
wasm-pack test --node
fi