Skip to content

Commit 51b253d

Browse files
committed
add cross-env & rollup-darwin-arm64 for CI
1 parent e790b1b commit 51b253d

3 files changed

Lines changed: 286 additions & 5 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Note: this workflow is currently disabled because it is not working due to recent github+node changes
2+
# Re-enable it at: https://github.com/NotePlan/plugins/actions/workflows/node.js.yml
3+
14
# Run tests on push or pull_request
25
# per: https://joelhooks.com/jest-and-github-actions/
36
# also uses github-actions-reporter.js for reporting

package-lock.json

Lines changed: 274 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"autoprefixer": "^10.4.20",
7373
"babel-jest": "^29.7.0",
7474
"concurrently": "^6.2.0",
75+
"cross-env": "^7.0.3",
7576
"documentation": "^14.0.3",
7677
"eslint": "^7.32.0",
7778
"eslint-config-prettier": "^8.10.0",
@@ -117,11 +118,11 @@
117118
},
118119
"scripts": {
119120
"init": "node ./tasks/init.js",
120-
"build": "NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build",
121-
"build:minified": "NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build --minify",
122-
"build:compact": "NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build --compact",
123-
"autowatch": "NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js",
124-
"autowatch:compact": "NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --compact",
121+
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build",
122+
"build:minified": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build --minify",
123+
"build:compact": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --build --compact",
124+
"autowatch": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js",
125+
"autowatch:compact": "cross-env NODE_OPTIONS=--max-old-space-size=8192 node scripts/rollup.js --compact",
125126
"release": "node scripts/releases.js",
126127
"lint": "eslint .",
127128
"lint-fix": "eslint . --fix",
@@ -205,5 +206,8 @@
205206
"toml": "^3.0.0",
206207
"vinyl": "^3.0.0",
207208
"vinyl-fs": "^4.0.0"
209+
},
210+
"optionalDependencies": {
211+
"@rollup/rollup-darwin-arm64": "^4.34.6"
208212
}
209213
}

0 commit comments

Comments
 (0)