diff --git a/.drone.yml b/.drone.yml index 4bc732f..b4a912f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,22 +10,18 @@ steps: image: node:latest commands: - yarn install - - name: Code Style Checks image: node:latest commands: - yarn prettier - - name: Lint image: node:latest commands: - yarn lint - - name: Unit Tests image: node:latest commands: - yarn test - - name: Send Status Notification image: plugins/webhook settings: @@ -59,12 +55,10 @@ steps: image: node:latest commands: - yarn install - - name: Build image: node:latest commands: - yarn build - - name: Send Status Notifications image: plugins/webhook settings: @@ -117,7 +111,8 @@ steps: token: - from_secret: gitea_token volumes: - - name: yarnrc + - name: npmrc + path: /drone/grow/.npmrc - name: Report NPM Publish Status image: plugins/webhook settings: @@ -175,9 +170,10 @@ volumes: - name: dockersock host: path: /var/run/docker.sock -- name: yarnrc +volumes: +- name: npmrc host: - path: /volume1/docker/.yarnrc.yml + path: /volume1/docker/grow/labs-auth/.npmrc depends_on: - Build Pipeline diff --git a/.npmrc b/.npmrc deleted file mode 100644 index dfdb2e6..0000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -@mifi:registry=https://git.mifi.dev/api/packages/mifi/npm -//git.mifi.dev/api/packages/mifi/npm/:_authToken=${NPM_TOKEN} -@mifi/grow:registry=https://git.mifi.dev