Skip to content

Commit c345868

Browse files
committed
chore(): update cd
1 parent 51f2313 commit c345868

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/cd.yml

+12-15
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,24 @@ jobs:
99
build:
1010
name: Build, Test, and Deploy
1111
runs-on: ubuntu-latest
12-
timeout-minutes: 30
1312
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: 14.x
1419
- name: Prepare NPM Token
1520
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
1621
shell: bash
1722
env:
1823
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19-
- uses: actions/setup-node@v1
20-
with:
21-
node-version: 14.x
22-
- uses: actions/checkout@v2
23-
with:
24-
fetch-depth: 0
25-
- name: Restore Dependency Cache
26-
uses: actions/cache@v1
27-
with:
28-
path: ~/.npm
29-
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
30-
- run: npm ci --no-package-lock
31-
- run: npm run bootstrap -- --ignore-scripts
32-
- run: npm run publish:ci
24+
- name: Install Dependencies
25+
run: npm ci --no-package-lock && lerna bootstrap --ignore-scripts
26+
shell: bash
27+
- name: Release
28+
run: npm run publish:ci
29+
shell: bash
3330
env:
3431
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3532
GIT_AUTHOR_NAME: Ionitron

0 commit comments

Comments
 (0)