From c345868ccacdcef342ff7aecf9625223ba9a9d9f Mon Sep 17 00:00:00 2001 From: Mike Hartington Date: Tue, 8 Mar 2022 12:25:16 -0500 Subject: [PATCH] chore(): update cd --- .github/workflows/cd.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 264ec9e..060db42 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,27 +9,24 @@ jobs: build: name: Build, Test, and Deploy runs-on: ubuntu-latest - timeout-minutes: 30 steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-node@v1 + with: + node-version: 14.x - name: Prepare NPM Token run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc shell: bash env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - uses: actions/setup-node@v1 - with: - node-version: 14.x - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Restore Dependency Cache - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} - - run: npm ci --no-package-lock - - run: npm run bootstrap -- --ignore-scripts - - run: npm run publish:ci + - name: Install Dependencies + run: npm ci --no-package-lock && lerna bootstrap --ignore-scripts + shell: bash + - name: Release + run: npm run publish:ci + shell: bash env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GIT_AUTHOR_NAME: Ionitron