Skip to content

Commit

Permalink
Chore: add support for Node 18; fix eslint issues (#24)
Browse files Browse the repository at this point in the history
* chore: Support Node 18

* chore: Support Node 18
fix: eslint setup and errors

* chore: update actions node version

* deps: fix package-lock.json

Co-authored-by: ihmpavel <42217494+ihmpavel@users.noreply.github.com>
Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
  • Loading branch information
3 people authored Jan 26, 2023
1 parent b683c4c commit d479ea8
Show file tree
Hide file tree
Showing 5 changed files with 10,173 additions and 9,591 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
// "extends": "@strapi-community",
"extends": "@strapi-community",
"env": {
"jest/globals": true,
"es6": true
"es6": true,
"node": true
},
"plugins": ["jest"],
"plugins": [
"jest"
],
"parserOptions": {
"ecmaVersion": "latest"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- name: Install dependencies
run: npm ci
- name: Run unit tests
Expand Down
3 changes: 0 additions & 3 deletions admin/src/.eslintrc

This file was deleted.

Loading

0 comments on commit d479ea8

Please sign in to comment.