Skip to content

Commit

Permalink
build: fix missing dist folder when linting before build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewinci committed Sep 25, 2022
1 parent 9bc35f5 commit 8275dc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
- name: Build artifact
run: yarn tauri build

- name: Lint rust
run: yarn lint:rust

- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-artifacts
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"postinstall": "husky install",
"release": "semantic-release --repositoryUrl=\"https://github.com/andrewinci/insulator2.git\"",
"lint": "prettier --write . && yarn eslint src/ --fix && yarn tsc --noemit && cd src-tauri && cargo clippy",
"lint": "prettier --write . && yarn eslint src/ --fix && yarn tsc --noemit",
"lint:rust": "cd src-tauri && cargo clippy",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
Expand Down

0 comments on commit 8275dc9

Please sign in to comment.