Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade npm #629

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@
"react/sort-comp": "warn",
"react/void-dom-elements-no-children": "error"
}
}
}
8 changes: 4 additions & 4 deletions .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [20.x]

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm ci
run: npm ci --legacy-peer-deps

- name: Lint
run: npm run lint
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Install
Expand Down
3 changes: 1 addition & 2 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
const { ESLINT_MODES } = require('@craco/craco');
var path = require('path');

module.exports = {
plugins: [{ plugin: require('@semantic-ui-react/craco-less') }],
eslint: {
enable: true /* (default value) */,
useEslintrc: true,
mode: ESLINT_MODES.file,
mode: 'file',
},
webpack: {
alias: {
Expand Down
Loading
Loading