diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 458b4b1a..7dfb5dc5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,9 +38,11 @@ jobs: EOF - name: Install NPM Dependencies run: | - npm install + npm ci mkdir -p ./test/results - - name: Lint and Test + - name: Run Lint + run: npm run lint + - name: Run Tests run: npm run test - name: Build run: npm run build @@ -56,7 +58,7 @@ jobs: - name: Semantic Release if: ${{ env.TRIGGER_DEPLOY == 'true'}} env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: q${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx --no -- semantic-release diff --git a/package-lock.json b/package-lock.json index 0fe15126..721aaee2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@scratch/paper": "0.11.20221201200345", "classnames": "2.2.5", - "escape-string-regexp": "^1.0.5", "keymirror": "0.1.1", "lodash.bindall": "4.4.0", "lodash.omit": "4.5.0", @@ -9444,9 +9443,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.556", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.556.tgz", - "integrity": "sha512-6RPN0hHfzDU8D56E72YkDvnLw5Cj2NMXZGg3UkgyoHxjVhG99KZpsKgBWMmTy0Ei89xwan+rbRsVB9yzATmYzQ==", + "version": "1.4.557", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.557.tgz", + "integrity": "sha512-6x0zsxyMXpnMJnHrondrD3SuAeKcwij9S+83j2qHAQPXbGTDDfgImzzwgGlzrIcXbHQ42tkG4qA6U860cImNhw==", "dev": true }, "node_modules/elliptic": { @@ -9899,6 +9898,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, "engines": { "node": ">=0.8.0" } @@ -28772,6 +28772,15 @@ "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": { "version": "3.1.0", "dev": true, diff --git a/package.json b/package.json index 17ab66af..8038a0ef 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "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", "start": "webpack-dev-server", - "test": "npm run lint && npm run unit", + "test": "npm run unit", "unit": "jest --reporters=default", "watch": "webpack --progress --colors --watch" },