Skip to content

Commit

Permalink
ci: linting and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Oct 13, 2023
1 parent 09a7da3 commit f019483
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -48,4 +48,4 @@
"webpack": "4.47.0",
"webpack-cli": "3.3.12"
}
}
}

0 comments on commit f019483

Please sign in to comment.