Skip to content

Commit

Permalink
Merge branch 'main' into ref-old-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Dec 8, 2023
2 parents a6cb9c1 + 1cbb0d5 commit 6126785
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 444 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:react/recommended",
// TODO 325: Add rules for import order
"plugin:import/recommended",
"prettier",
],
parserOptions: {
Expand All @@ -19,10 +19,17 @@ module.exports = {
plugins: ["react"],
rules: {
"react/prop-types": "off", // TODO: These should be added so the rule can be removed
"import/order": "warn",
},
settings: {
react: {
version: "detect",
},
"import/resolver": {
node: {
extensions: [".js", ".jsx"],
},
},
},
overrides: [{ files: ["*.jsx", "*.js"] }],
};
10 changes: 6 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jobs:
path: ./env
mode: ${{matrix.setting}}

# Test and build the app
- name: 🧪 Run Test
# Test and lint
- name: 🧪 Test
run: npm test
env:
CI: true
- name: 🔬 Lint
run: npm run lint
- name: ⚒ Run Build
run: npm run lint -- --max-warnings=0

# Build the app
- name: ⚒ Build
run: npm run build
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
mode: ${{matrix.setting}}

# Build the app
- name: Run Build
- name: ⚒ Build
run: npm run build

# Package the app installers
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
run: npm ci

# Build the app
- name: Run Build
- name: ⚒ Build
run: npm run build

# Deploy the app to GitHub Pages
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
run: pip install psiturk

# Build the app
- name: Run Build
- name: ⚒ Build
run: npm run build

# Get package info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
mode: ${{github.event.inputs.setting}}

# Build the app
- name: Run Build
- name: ⚒ Build
run: npm run build

# Package the app installers
Expand Down
Loading

0 comments on commit 6126785

Please sign in to comment.