Skip to content

Commit

Permalink
Migrate to svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Alia5 committed Sep 26, 2024
1 parent ee3a331 commit 0a24ff9
Show file tree
Hide file tree
Showing 19 changed files with 4,534 additions and 9,330 deletions.
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

235 changes: 0 additions & 235 deletions .eslintrc.cjs

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm i
- run: npm run build
- run: pnpm i
- run: pnpm run build
14 changes: 7 additions & 7 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,26 @@ jobs:
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
path: ~/.pnpm
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.yml') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
${{ runner.os }}-
- name: Setup NodeJs
uses: actions/setup-node@v3
with:
node-version: '17'
cache: 'npm'
cache: 'pnpm'
cache-dependency-path: '**/package-lock.json'

- name: Install Dependencies
run: npm install
run: pnpm install

- name: Set app version (Unix)
run: npm version ${{ github.event.inputs.release_version }} --no-git-tag-version
run: pnpm version ${{ github.event.inputs.release_version }} --no-git-tag-version

- name: Build Project
run: npm run build
run: pnpm run build

- name: "Create Github release (full)"
if: ${{ !contains( github.event.inputs.release_version, '-rc' ) }}
Expand All @@ -56,7 +56,7 @@ jobs:
target_commitish: "master"
draft: false
prerelease: false
files: public/expander-card.js
files: dist/expander-card.js
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
/public
/dist
Loading

0 comments on commit 0a24ff9

Please sign in to comment.