.PHONY: fmt test yarn .npmrc: echo '@guardianproject-ops:registry=https://gitlab.com/api/v4/packages/npm/' > .npmrc echo '//gitlab.com/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc echo '//gitlab.com/api/v4/projects/:_authToken=${CI_JOB_TOKEN}' >> .npmrc echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc yarn: yarn test: yarn mkdir -p coverage yarn lint yarn test publish: test .npmrc npm publish