Skip to content

Commit dc372d1

Browse files
authored
Use pebble-tool for publishing
1 parent a212c50 commit dc372d1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ jobs:
2525
publish-npm:
2626
needs: build
2727
runs-on: ubuntu-latest
28+
29+
container:
30+
image: ghcr.io/pebble-dev/pebbleos-docker:v1
31+
2832
steps:
2933
- uses: actions/checkout@v4
30-
- uses: actions/setup-node@v4
31-
with:
32-
node-version: 20
33-
registry-url: https://registry.npmjs.org/
34+
- name: Set up uv
35+
uses: astral-sh/setup-uv@v7
36+
- run: uv tool install pebble-tool
37+
- run: npm install
38+
- run: npm run build
39+
- run: pebble build
3440
- name: Update npm
3541
run: npm install -g npm@latest
3642
- run: npm publish

0 commit comments

Comments
 (0)