Skip to content

Commit 2c237af

Browse files
committed
update release workflow to use bun
1 parent 11bc8e6 commit 2c237af

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v3
18-
- name: Use Node.js
19-
uses: actions/setup-node@v3
18+
- uses: oven-sh/setup-bun@v1
2019
with:
21-
node-version: '18.x' # You might need to adjust this value to your own version
20+
bun-version: latest
2221
- name: Build
2322
id: build
2423
run: |
25-
yarn
26-
yarn run build --if-present
24+
bun install
25+
bun run build
2726
mkdir ${{ env.PLUGIN_NAME }}
2827
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
2928
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}

0 commit comments

Comments
 (0)