diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9310db350e..7353fcb766 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,6 +32,8 @@ jobs: with: chrome-version: latest - name: Install Node Dependencies - env: - NODE_ENV: "development" run: npm ci + - name: Lint + run: npm run test:lint + - name: Run Tests + run: DISPLAY=:99 npm test diff --git a/package.json b/package.json index db15d3a287..1951f3090e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:unit": "node tests/jsunit/test_runner.js", "test:lint": "eslint .", "test:messages": "npm run translate && node i18n/test_scratch_msgs.js", - "test": "npm run test:lint && npm run test:messages && npm run test:unit", + "test": "npm run test:messages && npm run test:unit", "version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"", "translate": "node i18n/js_to_json.js && node i18n/json_to_js.js", "translate:sync:src": "tx-push-src scratch-editor blocks msg/json/en.json", @@ -48,4 +48,4 @@ "webpack": "4.47.0", "webpack-cli": "3.3.12" } -} \ No newline at end of file +}