Compare commits
4 Commits
v4-develop
...
v4.0.3
Author | SHA1 | Date | |
---|---|---|---|
e43c07f75a | |||
fc5f80232e | |||
695eea2985 | |||
a739d3b5a2 |
@ -30,6 +30,7 @@ jobs:
|
|||||||
&& pip install . .[test] \
|
&& pip install . .[test] \
|
||||||
&& pytest \
|
&& pytest \
|
||||||
;
|
;
|
||||||
|
- run: pip install build && python -m build
|
||||||
|
|
||||||
python-publish:
|
python-publish:
|
||||||
executor: python
|
executor: python
|
||||||
@ -37,7 +38,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/scwrypts
|
path: ~/scwrypts
|
||||||
- python/dist
|
- run: pip install build && python -m build
|
||||||
- run: pip install twine && twine upload dist/*
|
- run: pip install twine && twine upload dist/*
|
||||||
|
|
||||||
nodejs-test:
|
nodejs-test:
|
||||||
@ -102,32 +103,56 @@ jobs:
|
|||||||
: \
|
: \
|
||||||
&& [ $CIRCLE_TAG ] \
|
&& [ $CIRCLE_TAG ] \
|
||||||
&& pnpm build \
|
&& pnpm build \
|
||||||
&& pnpm version $(git describe --tags) \
|
&& pnpm version $CIRCLE_TAG \
|
||||||
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
||||||
&& pnpm publish --no-git-checks \
|
&& pnpm publish --no-git-checks \
|
||||||
;
|
;
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
|
python-dev:
|
||||||
|
jobs:
|
||||||
|
- python-test:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /^main$/
|
||||||
|
|
||||||
python:
|
python:
|
||||||
jobs:
|
jobs:
|
||||||
- python-test
|
- python-test:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
|
branches:
|
||||||
|
ignore: /^.*$/
|
||||||
- python-publish:
|
- python-publish:
|
||||||
requires: [python-test]
|
requires: [python-test]
|
||||||
context: [pypi-yage]
|
context: [pypi-yage]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*$/
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
|
||||||
|
nodejs-dev:
|
||||||
|
jobs:
|
||||||
|
- nodejs-test:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /^main$/
|
||||||
|
|
||||||
nodejs:
|
nodejs:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-test
|
- nodejs-test:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
|
branches:
|
||||||
|
ignore: /^.*$/
|
||||||
- nodejs-publish:
|
- nodejs-publish:
|
||||||
requires: [nodejs-test]
|
requires: [nodejs-test]
|
||||||
context: [npm-wrynegade]
|
context: [npm-wrynegade]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*$/
|
only: /^v\d+\.\d+\.\d+.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
Reference in New Issue
Block a user