mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
refactor: move prettier-config to monorepo
This commit is contained in:
20
configuration/prettier-config/.gitlab-ci.yml
Normal file
20
configuration/prettier-config/.gitlab-ci.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/node
|
||||
|
||||
stages:
|
||||
- test
|
||||
- publish
|
||||
|
||||
prettier config file:
|
||||
stage: test
|
||||
script:
|
||||
- npm test
|
||||
|
||||
package:
|
||||
tags:
|
||||
- secrecy
|
||||
stage: publish
|
||||
script:
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
||||
- npm publish --access=public
|
||||
only:
|
||||
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
|
||||
Reference in New Issue
Block a user