Skip to content

Commit

Permalink
chore(): update cd
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Mar 8, 2022
1 parent 51f2313 commit c345868
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c345868

Please sign in to comment.