Skip to content

Commit

Permalink
fix(actions): rollback to NODE_AUTH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Sep 12, 2019
1 parent 775f17f commit 567482a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
41 changes: 2 additions & 39 deletions .github/workflows/push.yml
Expand Up @@ -13,42 +13,5 @@ jobs:
id: node
- name: Setup Tools
run: |
# npm install -g lerna
npm install -g @angular/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Check out Code
uses: actions/checkout@v1
- name: Install Dependencies
run: yarn install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Lint
run: ng lint ngx-utils
# run: yarn affected:lint --all
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Unit Test
run: ng test ngx-utils
# run: yarn affected:test --all
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Integration Test
# run: yarn affected:e2e --all
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
-F unittests
-n codecov-ngx
-f ./coverage/libs/ngx-utils/coverage-final.json
-B "${GITHUB_REF//refs\/heads\//}"
-T "${GITHUB_REF//refs\/tags\//}"
-C "${GITHUB_SHA}"
-Z || echo 'Codecov upload failed'
env:
CI: true
CODECOV_ENV: github-action
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_PR: ${{ github.event.after }}
CODECOV_SHA: ${{ github.sha }}
echo $NPM_TOKEN
echo $NODE_AUTH_TOKEN
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

0 comments on commit 567482a

Please sign in to comment.