Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Feria <[email protected]>
  • Loading branch information
carlosthe19916 committed Mar 1, 2025
1 parent 4d7ceed commit 1150cf0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"dsznajder.es7-react-js-snippets",
"biomejs.biome"
"biomejs.biome",
"GitHub.vscode-github-actions"
]
}
}
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ env:
CI: true

jobs:
lint:
cargo-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
Expand All @@ -26,12 +25,27 @@ jobs:
- run: cargo check
- run: cargo clippy --all-targets --all-features -- -D warnings

test:
name: Tests
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- run: cargo test

npm-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: server/ui
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- run: npm run check
- run: npm run build
6 changes: 3 additions & 3 deletions server/ui/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import js from "@eslint/js";
import globals from "globals";
import prettierRecommended from "eslint-plugin-prettier/recommended";
import react from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import globals from "globals";
import tseslint from "typescript-eslint";
import react from "eslint-plugin-react";
import prettierRecommended from "eslint-plugin-prettier/recommended";

export default tseslint.config(
{ ignores: ["dist"] },
Expand Down

0 comments on commit 1150cf0

Please sign in to comment.