From 70c5ebdcceb6486a8f6ec8c9522f8b81b96fa18a Mon Sep 17 00:00:00 2001 From: Michael Jolley Date: Tue, 4 May 2021 17:39:43 -0500 Subject: [PATCH] Update CD.yml --- .github/workflows/CD.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 866d0280..97189140 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -8,25 +8,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 with: node-version: 12 + registry-url: https://registry.npmjs.org/ + - name: Install Dependencies run: npm install - name: Build TypeScript run: npm run build - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://registry.npmjs.org/ - - run: npm publish --ignore-scripts env: - NODE_AUTH_TOKEN: ${{ secrets.npm_token }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.npm_token }}