-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
12,007 additions
and
2,727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Lerna Package Tests" | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
npm-ci: | ||
name: Audit, Lint, Test, and Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel previous runs of this workflow (pull requests only) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: styfle/cancel-workflow-action@0.11.0 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install Packages | ||
run: npx lerna bootstrap | ||
# - name: Audit node | ||
# run: npm audit --audit-level=high --production | ||
|
||
- name: Runtest | ||
run: npx lerna run test | ||
|
||
- name: Runlint | ||
run: npx lerna run lint | ||
|
||
- name: Runbuild | ||
run: npx lerna run build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"command": { | ||
"publish": { | ||
"message": "chore(release): publish" | ||
} | ||
}, | ||
"ignoreChanges": [ | ||
"**/*.md", | ||
"**/{storybook,stories}/**" | ||
], | ||
"command": { | ||
"publish": { | ||
"message": "chore(release): publish" | ||
} | ||
}, | ||
"ignoreChanges": [ | ||
"**/*.md", | ||
"**/{storybook,stories}/**" | ||
], | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "independent" | ||
"version": "independent", | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"useWorkspaces": false | ||
} |
Oops, something went wrong.