Skip to content
Open
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 .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
html.js
**/lib
packages/bodiless-backend/bin
packages/gatsby-theme-bodiless/dist
packages/gatsby-theme-bodiless/cjs
packages/gatsby-theme-bodiless/index.js
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-test-lint-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ env:
CI: true
FORCE_COLOR: 1
NODE_OPTIONS: --max_old_space_size=4096
on:
pull_request:
branches:
- main
on: workflow_dispatch
jobs:
setup:
name: Setup, Build, Lint and Test
Expand Down
17 changes: 16 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// Ref:
// https://code.visualstudio.com/docs/editor/variables-reference
"version": "0.2.0",
"compounds": [
// Launches the Gatsby stack and opens Chrome.
Expand Down Expand Up @@ -103,7 +105,7 @@
"sourceMaps": false
},
{
"name": "Jest Current File",
"name": "Jest Current File (Windows)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/jest",
Expand All @@ -116,6 +118,19 @@
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
},
{
"name": "Jest Current File (Mac/Linux)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${relativeFile}"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
// Update the node version below if v16.13.0 is not available locally.
"runtimeExecutable": "${userHome}/.nvm/versions/node/v16.13.0/bin/node",
},
{
"name": "Launch Chrome",
"type": "chrome",
Expand Down
Loading