Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
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
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
check-latest: true
- name: Install dependencies
# Cypress has a postinstall script that doesn't work on older Node.js versions
run: npm ci --ignore-scripts
run: npm ci --no-audit --ignore-scripts
- name: Build For All
run: npm run build:json
- name: Build For Browser
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
run: npm ci --no-audit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- name: Build For Browser
run: npm run build
- name: Tests
Expand Down
57 changes: 28 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"src/**/*.js"
],
"scripts": {
"prepare": "husky install node_modules/@netlify/eslint-config-node/.husky/",
"prepublishOnly": "npm ci && run-s build test",
"build": "run-s build:*",
"build:json": "node scripts/transform_json.js",
Expand All @@ -35,12 +36,6 @@
"test:ci:ava": "c8 -r lcovonly -r text -r json ava",
"test:ci:cypress": "node cypress/run.js"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run format"
}
},
"keywords": [
"dependency-management",
"continuous-integration",
Expand Down Expand Up @@ -98,6 +93,7 @@
"del": "^6.0.0",
"execa": "^5.0.0",
"html-webpack-plugin": "^5.0.0",
"husky": "^7.0.4",
"is-ci": "^3.0.0",
"node-static": "^0.7.11",
"path-browserify": "^1.0.1",
Expand Down