Compare commits

..

3 Commits

Author SHA1 Message Date
e43c07f75a v4.0.3
=====================================================================

- circleci: additional branch/tag trigger tweaks
2024-02-21 00:13:21 -07:00
fc5f80232e v4.0.2
=====================================================================

- circleci: more trigger fixes; add python build to python test
2024-02-21 00:05:40 -07:00
695eea2985 v4.0.1
=====================================================================

- circleci: trigger test workflows on tags too
2024-02-20 23:57:43 -07:00

View File

@ -30,6 +30,7 @@ jobs:
&& pip install . .[test] \
&& pytest \
;
- run: pip install build && python -m build
python-publish:
executor: python
@ -37,7 +38,7 @@ jobs:
steps:
- checkout:
path: ~/scwrypts
- python/dist
- run: pip install build && python -m build
- run: pip install twine && twine upload dist/*
nodejs-test:
@ -102,32 +103,56 @@ jobs:
: \
&& [ $CIRCLE_TAG ] \
&& pnpm build \
&& pnpm version $(git describe --tags) \
&& pnpm version $CIRCLE_TAG \
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
&& pnpm publish --no-git-checks \
;
workflows:
python-dev:
jobs:
- python-test:
filters:
branches:
ignore: /^main$/
python:
jobs:
- python-test
- python-test:
filters:
tags:
only: /^v\d+\.\d+\.\d+.*$/
branches:
ignore: /^.*$/
- python-publish:
requires: [python-test]
context: [pypi-yage]
filters:
tags:
only: /^v.*$/
only: /^v\d+\.\d+\.\d+.*$/
branches:
ignore: /^.*$/
nodejs-dev:
jobs:
- nodejs-test:
filters:
branches:
ignore: /^main$/
nodejs:
jobs:
- nodejs-test
- nodejs-test:
filters:
tags:
only: /^v\d+\.\d+\.\d+.*$/
branches:
ignore: /^.*$/
- nodejs-publish:
requires: [nodejs-test]
context: [npm-wrynegade]
filters:
tags:
only: /^v.*$/
only: /^v\d+\.\d+\.\d+.*$/
branches:
ignore: /^.*$/