diff --git a/.changeset/config.json b/.changeset/config.json index 351ac15..0f30a6e 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -5,7 +5,7 @@ "fixed": [], "linked": [], "access": "restricted", - "baseBranch": "dev", + "baseBranch": "release", "updateInternalDependencies": "patch", "ignore": [] } diff --git a/.changeset/poor-falcons-buy.md b/.changeset/poor-falcons-buy.md new file mode 100644 index 0000000..066cf4f --- /dev/null +++ b/.changeset/poor-falcons-buy.md @@ -0,0 +1,5 @@ +--- +"svelte-tauri": minor +--- + +Switching ui to shadcn-svelte diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index d600067..57bd827 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -11,17 +11,31 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Pnpm setup - uses: pnpm/action-setup@v2 - with: - version: 8.10 - - - name: Use Node.js 20 + - name: Install Node.js 20 uses: actions/setup-node@v3 with: node-version: 20 - cache: pnpm + + - uses: pnpm/action-setup@v2 + name: Install pnpm + id: pnpm-install + with: + version: 8.10.0 + run_install: false + + - name: Get pnpm store directory + id: pnpm-cache + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v3 + name: Setup pnpm cache + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 904b277..fb64a27 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,27 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - cache: pnpm + + - uses: pnpm/action-setup@v2 + name: Install pnpm + id: pnpm-install + with: + version: 8.10.0 + run_install: false + + - name: Get pnpm store directory + id: pnpm-cache + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v3 + name: Setup pnpm cache + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcb02ce..b820791 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,19 +17,31 @@ jobs: with: fetch-depth: 0 - - name: Pnpm setup - uses: pnpm/action-setup@v2 - with: - version: 8.10 - - - name: Use Node.js 20 + - name: Install Node.js 20 uses: actions/setup-node@v3 with: node-version: 20 - cache: pnpm - - name: Install dependencies - run: pnpm install --frozen-lockfile + - uses: pnpm/action-setup@v2 + name: Install pnpm + id: pnpm-install + with: + version: 8.10.0 + run_install: false + + - name: Get pnpm store directory + id: pnpm-cache + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v3 + name: Setup pnpm cache + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/CHANGELOG.md b/CHANGELOG.md index bc80ed4..ad0edb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,5 @@ # svelte-tauri -## 0.2.0 - -### Minor Changes - -- 98b1df2: Switching ui to shadcn-svelte - ## 0.1.0 ### Minor Changes diff --git a/package.json b/package.json index 0559d8a..dd4a312 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-tauri", - "version": "0.2.0", + "version": "0.1.0", "private": true, "license": "MIT", "repository": {