mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-28 04:46:57 -04:00
30 lines
578 B
YAML
30 lines
578 B
YAML
name: Node.js Package
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
publish-npm:
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: ghcr.io/pebble-dev/pebbleos-docker:v1
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up uv
|
|
uses: astral-sh/setup-uv@v7
|
|
- run: uv tool install pebble-tool
|
|
- run: npm install
|
|
- run: npm run build
|
|
- run: pebble sdk install 4.9.127
|
|
- run: pebble build
|
|
- name: Update npm
|
|
run: npm install -g npm@latest
|
|
- run: npm publish
|