Skip to content

feat: publish as @img2threejs/plugin-cs2 on npm #2

feat: publish as @img2threejs/plugin-cs2 on npm

feat: publish as @img2threejs/plugin-cs2 on npm #2

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
test:
# ci-workflows python-ci @ main
uses: img2threejs/ci-workflows/.github/workflows/python-ci.yml@4b7a0612d2c52815792124a18ae3f9032a4f0a88
with:
python-version: '3.12'
test-command: |
pkg="$(node -p 'require("./package.json").version')"
plg="$(node -p 'require("./plugin.json").version')"
if [ "$pkg" != "$plg" ]; then
echo "version mismatch: package.json=$pkg plugin.json=$plg"
exit 1
fi
python3 -m unittest discover -s tests