Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stickyPiston committed Jan 22, 2024
1 parent 6e2dcce commit b6d00a7
Show file tree
Hide file tree
Showing 13 changed files with 1,529 additions and 186 deletions.
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and build radio
name: Lint and build

on:
push:
Expand All @@ -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
Expand All @@ -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/[email protected]
with:
path: dist
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script src="snow.js"></script>
</body>

</html>
Expand Down
Loading

0 comments on commit b6d00a7

Please sign in to comment.