+12
-1
.github/workflows/publish.yaml
+12
-1
.github/workflows/publish.yaml
···
37
37
uses: actions/setup-node@v4
38
38
with:
39
39
node-version: lts/*
40
-
cache: "bun" # Set this to npm, yarn or pnpm.
40
+
cache: "npm" # Set this to npm, yarn or pnpm.
41
+
- uses: oven-sh/setup-bun@v2
41
42
42
43
- name: install Rust stable
43
44
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
···
64
65
releaseDraft: true
65
66
prerelease: false
66
67
args: ${{ matrix.args }}
68
+
- name: Cache dependencies
69
+
uses: actions/cache@v4
70
+
with:
71
+
path: |
72
+
~/.bun/install/cache
73
+
node_modules
74
+
.eslintcache
75
+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
76
+
restore-keys: |
77
+
${{ runner.os }}-bun-