Skip to content

Commit

Permalink
ci: update CI script
Browse files Browse the repository at this point in the history
Signed-off-by: Rong Sen Ng (motss) <wes.ngrongsen@gmail.com>
  • Loading branch information
motss committed Mar 18, 2022
1 parent 83c06d5 commit cfa6652
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

# - name: Setup node@${{ matrix.target }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.target }}
# registry-url: 'https://registry.npmjs.org'

- name: List versions
run: |
echo "NODE_VERSION=$(node -v)" >> $GITHUB_ENV
echo "NPM_CACHE_DIR=$(npm config get cache)" >> $GITHUB_ENV
echo "NPM_VERSION=$(npm -v)" >> $GITHUB_ENV
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
pwd
ls -la
which npm
npm config list
npm config ls -l
- name: Cache dependencies
if: env.CI_SKIP == 'false'
Expand Down

0 comments on commit cfa6652

Please sign in to comment.