Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
ci: rework stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MindTooth committed Aug 3, 2023
1 parent c9e86e3 commit 6b4f552
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
21 changes: 0 additions & 21 deletions .github/actions/build-ui/action.yaml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/test-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: ./.github/actions/build-ui
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- cwd: src/ui
- run: |
pnpm -C src/ui run build:dev
- run: |
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade tox virtualenv
Expand Down
3 changes: 2 additions & 1 deletion src/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"js:build:dev": "NODE_ENV=development esbuild src/js/projects.js --bundle --outfile=static/dist/js/projects.min.js --sourcemap",
"js:build:prod": "NODE_ENV=production esbuild src/js/projects.js --bundle --outfile=static/dist/js/projects.min.js --minify",
"js:watch": "NODE_ENV=development esbuild src/js/projects.js --bundle --outfile=static/dist/js/projects.min.js --sourcemap --watch",
"prettier-format": "prettier **/* --ignore-unknown --list-different"
"prettier-format": "prettier **/* --ignore-unknown --list-different",
"clean": "rm -fr static/dist/{css,js}"
},
"dependencies": {
"@types/jquery": "^3.5.16",
Expand Down

0 comments on commit 6b4f552

Please sign in to comment.