diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..299993f --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,26 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime" + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": [ + "react" + ], + "rules": { + "react/prop-types": "off" + }, + "settings": { + "react": { + "version": "18.2.0" + } + } +} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64c33be..45571ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Lint and build radio +name: Lint and build on: push: @@ -8,13 +8,11 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + node-version: [ 20.x ] steps: - uses: actions/checkout@v3 @@ -23,9 +21,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm install - run: npm run lint - run: npm run build - - name: Upload a Build Artifact - uses: actions/upload-artifact@v4.2.0 with: path: dist diff --git a/index.html b/index.html index 742877f..f096d5e 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,6 @@
-