ci: update package.json and package-lock

This commit is contained in:
Ron de las Alas 2023-10-17 14:55:16 -04:00
parent da31c474ae
commit 9cea01cea0
3 changed files with 19 additions and 8 deletions

View file

@ -38,9 +38,11 @@ jobs:
EOF EOF
- name: Install NPM Dependencies - name: Install NPM Dependencies
run: | run: |
npm install npm ci
mkdir -p ./test/results mkdir -p ./test/results
- name: Lint and Test - name: Run Lint
run: npm run lint
- name: Run Tests
run: npm run test run: npm run test
- name: Build - name: Build
run: npm run build run: npm run build
@ -56,7 +58,7 @@ jobs:
- name: Semantic Release - name: Semantic Release
if: ${{ env.TRIGGER_DEPLOY == 'true'}} if: ${{ env.TRIGGER_DEPLOY == 'true'}}
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: q${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no -- semantic-release run: npx --no -- semantic-release

17
package-lock.json generated
View file

@ -11,7 +11,6 @@
"dependencies": { "dependencies": {
"@scratch/paper": "0.11.20221201200345", "@scratch/paper": "0.11.20221201200345",
"classnames": "2.2.5", "classnames": "2.2.5",
"escape-string-regexp": "^1.0.5",
"keymirror": "0.1.1", "keymirror": "0.1.1",
"lodash.bindall": "4.4.0", "lodash.bindall": "4.4.0",
"lodash.omit": "4.5.0", "lodash.omit": "4.5.0",
@ -9444,9 +9443,9 @@
"dev": true "dev": true
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.4.556", "version": "1.4.557",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.556.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.557.tgz",
"integrity": "sha512-6RPN0hHfzDU8D56E72YkDvnLw5Cj2NMXZGg3UkgyoHxjVhG99KZpsKgBWMmTy0Ei89xwan+rbRsVB9yzATmYzQ==", "integrity": "sha512-6x0zsxyMXpnMJnHrondrD3SuAeKcwij9S+83j2qHAQPXbGTDDfgImzzwgGlzrIcXbHQ42tkG4qA6U860cImNhw==",
"dev": true "dev": true
}, },
"node_modules/elliptic": { "node_modules/elliptic": {
@ -9899,6 +9898,7 @@
"version": "1.0.5", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"engines": { "engines": {
"node": ">=0.8.0" "node": ">=0.8.0"
} }
@ -28772,6 +28772,15 @@
"node": ">=8" "node": ">=8"
} }
}, },
"node_modules/tap/node_modules/stack-utils/node_modules/escape-string-regexp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/tap/node_modules/string-length": { "node_modules/tap/node_modules/string-length": {
"version": "3.1.0", "version": "3.1.0",
"dev": true, "dev": true,

View file

@ -11,7 +11,7 @@
"i18n:src": "rimraf ./translations/messages && babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/", "i18n:src": "rimraf ./translations/messages && babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
"lint": "eslint . --ext .js,.jsx", "lint": "eslint . --ext .js,.jsx",
"start": "webpack-dev-server", "start": "webpack-dev-server",
"test": "npm run lint && npm run unit", "test": "npm run unit",
"unit": "jest --reporters=default", "unit": "jest --reporters=default",
"watch": "webpack --progress --colors --watch" "watch": "webpack --progress --colors --watch"
}, },