Skip to content

Commit

Permalink
chore: fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdevv committed Jul 2, 2024
1 parent 2b77a34 commit 5b4abec
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Node 16
uses: actions/setup-node@v1
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Setup PNPM
uses: pnpm/action-setup@v2.0.1
uses: pnpm/action-setup@v3.0.0
with:
version: 8.6.1
version: 8.12.1

- name: Install
run: pnpm install

- name: Build
run: pnpm run package
run: pnpm package

- name: Publish
run: |
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "vite dev",
"package": "svelte-kit sync && svelte-package",
"build": "vite build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && publint",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
Expand All @@ -14,6 +14,7 @@
"@sveltejs/package": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"ghostsui": "^1.6.0",
"publint": "^0.2.8",
"sass": "^1.77.6",
"svelte": "^4.2.18",
"svelte-check": "^3.8.4",
Expand Down
68 changes: 68 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b4abec

Please sign in to comment.