Skip to content

Commit

Permalink
ci: update netlify pnpm install
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jan 25, 2025
1 parent 7253caa commit 0dfa34a
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 160 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true

# after pnpm
- name: Use Node.js LTS
uses: actions/setup-node@v4
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Install
run: pnpm install

- name: 🌌 Build Valaxy Cli
run: pnpm build

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"valaxy-theme-yun": "workspace:*"
},
"devDependencies": {
"@antfu/eslint-config": "^3.16.0",
"@antfu/eslint-config": "^4.0.0",
"@iconify-json/logos": "catalog:",
"@iconify-json/vscode-icons": "catalog:",
"@microsoft/api-extractor": "^7.49.1",
Expand All @@ -94,9 +94,9 @@
"@types/node": "^22.10.10",
"@types/prompts": "^2.4.9",
"@types/resolve": "^1.20.6",
"bumpp": "^9.10.2",
"bumpp": "^10.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.18.0",
"eslint": "^9.19.0",
"https-localhost": "^4.7.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/valaxy/node/cli/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ export function registerDevCommand(cli: Argv) {
describe: 'log level',
})
.strict()
.help()
,
.help(),
async ({ root, port, open, remote, log }) => {
startValaxyDev({
root,
Expand Down
3 changes: 1 addition & 2 deletions packages/valaxy/node/plugins/markdown/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import type {
Highlighter,
LanguageInput,
ShikiTransformer,
ThemeRegistration
,
ThemeRegistration,
} from 'shiki'
import type { PageData } from 'valaxy/types'

Expand Down
Loading

1 comment on commit 0dfa34a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://yun.valaxy.site as production
🚀 Deployed on https://6794c2986b68ee121e399abe--valaxy.netlify.app

Please sign in to comment.