mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
ci test
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- opencode
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -19,15 +19,6 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- run: |
|
||||
npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
|
||||
npm whoami
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- run: git fetch --force --tags
|
||||
|
||||
@@ -35,14 +26,7 @@ jobs:
|
||||
with:
|
||||
go-version: ">=1.23.2"
|
||||
|
||||
- name: Go Mod
|
||||
run: go mod download
|
||||
|
||||
# TODO remove temporary workaround
|
||||
- run: bun i --frozen-lockfile
|
||||
- run: git reset --hard
|
||||
- run: cd platform && bun tsc --noEmit
|
||||
- run: ./platform/scripts/build
|
||||
- run: go mod download
|
||||
- uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
|
||||
Reference in New Issue
Block a user