Skip to content

Commit

Permalink
Refactor deployment workflow to use npx for building and remove unuse…
Browse files Browse the repository at this point in the history
…d font dependency
  • Loading branch information
NumberOneBot committed Jan 6, 2025
1 parent cf734d7 commit 936db3c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: npm install

- name: Build project
run: npm run build
run: npx vite build

- name: Verify dist directory
run: ls -la ./dist
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"tsc": "tsc -b"
},
"dependencies": {
"@fontsource-variable/dm-sans": "^5.1.1",
"clsx": "^2.1.1",
"dsssp": "^0.1.7",
"react": "^18.2.0",
Expand Down
7 changes: 0 additions & 7 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['"DM Sans"', 'ui-sans-serif', 'system-ui', 'sans-serif']
}
}
},
plugins: [
function ({ addBase, theme }) {
const colors = theme('colors')
Expand Down

0 comments on commit 936db3c

Please sign in to comment.