Commit f7c8212 1 parent fe1e0cc commit f7c8212 Copy full SHA for f7c8212
File tree 2 files changed +3
-13
lines changed
2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -27,24 +27,11 @@ jobs:
27
27
run : yarn build
28
28
working-directory : packages/country-config
29
29
30
- - name : Check if version exists on npm
31
- id : check-version
32
- run : |
33
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
34
- if npm view @opencrvs/mosip@$PACKAGE_VERSION > /dev/null 2>&1; then
35
- echo "Version $PACKAGE_VERSION already exists on npm."
36
- exit 0
37
- else
38
- echo "Version $PACKAGE_VERSION does not exist on npm."
39
- fi
40
- working-directory : packages/country-config
41
-
42
30
- name : Authenticate to npm
43
31
run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
44
32
working-directory : packages/country-config
45
33
46
34
- name : Publish to npm
47
- if : steps.check-version.outputs.version-exists == 'false'
48
35
run : npm publish --access public
49
36
working-directory : packages/country-config
50
37
env :
Original file line number Diff line number Diff line change
1
+ # @opencrvs/mosip
2
+
3
+ This package contains helpers to country-config for using the [ OpenCRVS-MOSIP API] ( https://github.com/opencrvs/mosip ) .
You can’t perform that action at this time.
0 commit comments