Skip to content

Commit

Permalink
Switch to Lerna Package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Feb 16, 2023
1 parent 01ec1f8 commit 7817b22
Show file tree
Hide file tree
Showing 5 changed files with 12,007 additions and 2,727 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/lerna-tests.yml
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
44 changes: 0 additions & 44 deletions .github/workflows/test-block-editor-tools.yml

This file was deleted.

22 changes: 12 additions & 10 deletions lerna.json
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
}
Loading

0 comments on commit 7817b22

Please sign in to comment.