Skip to content

Commit

Permalink
Update npm-publish-linux-pi-2b.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jianwei Mao <[email protected]>
  • Loading branch information
MaoJianwei authored Oct 13, 2024
1 parent a0a9caf commit e7fd8dd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/npm-publish-linux-pi-2b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ on:
workflow_dispatch:

jobs:
build-npm:
build-golang:
runs-on: PI-2B
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/

# Mao: using the go toolchain deployed in the exist env, Raspberry PI 2B.
# - name: Set up Go
Expand All @@ -32,6 +28,15 @@ jobs:
- name: Golang Test
run: go test -v ./...

build-npm:
runs-on: PI-2B
needs: build-golang
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/

- run: ./build_webui.sh

- name: Run Check Version
Expand Down

0 comments on commit e7fd8dd

Please sign in to comment.