Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- trunk
paths:
- public_html/wp-content/themes/wporg-pattern-directory-2024/**
- public_html/wp-content/plugins/**
# Enable manually running action if necessary.
workflow_dispatch:

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
pull_request:
paths:
- public_html/**
- .github/workflows/unit-tests.yml
push:
branches: [trunk]
paths:
- public_html/**
- .github/workflows/unit-tests.yml
# Enable manually running action if necessary.
workflow_dispatch:

Expand Down Expand Up @@ -54,8 +56,5 @@ jobs:
packageManager: "npm"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run unit tests on theme data store
run: npm run test:unit --workspace=wporg-pattern-directory-theme

- name: Run unit tests on the pattern creator
run: npm run test:unit --workspace=wporg-pattern-creator
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const config = {
// See https://github.com/uuidjs/uuid/issues/451
uuid: require.resolve( 'uuid' ),
},
transformIgnorePatterns: [ 'node_modules/(?!(parsel-js)/)' ],
};

module.exports = config;
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ The available workspaces are:

"wporg-pattern-creator": "public_html/wp-content/plugins/pattern-creator"
"wporg-pattern-directory": "public_html/wp-content/plugins/pattern-directory"
"wporg-pattern-directory-theme": "public_html/wp-content/themes/pattern-directory"

### Linting

Expand Down
Loading