Skip to content

Commit c574906

Browse files
authored
feat!: go rewrite (#84)
1 parent 5e675ad commit c574906

File tree

211 files changed

+16314
-55391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+16314
-55391
lines changed

.bun-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/actions/test-npm-install/action.yml

Lines changed: 0 additions & 205 deletions
This file was deleted.

.github/workflows/mutation-testing.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/release-pipeline.yml

Lines changed: 6 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,9 @@ jobs:
2424
uses: googleapis/release-please-action@v4
2525
with:
2626
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
27-
release-type: node
27+
release-type: go
2828

29-
publish:
30-
needs: release-please
31-
if: ${{ needs.release-please.outputs.release_created == 'true' }}
32-
runs-on: ubuntu-latest
33-
steps:
34-
- name: Checkout
35-
uses: actions/checkout@v4
36-
37-
- uses: oven-sh/setup-bun@v2
38-
with:
39-
bun-version-file: .bun-version
40-
41-
- run: bun install --frozen-lockfile
42-
43-
- name: Build
44-
run: bun run build:node
45-
46-
- name: Configure npm auth
47-
run: |
48-
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
49-
env:
50-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51-
52-
- name: Publish to npm
53-
run: npm publish --access public
29+
# npm publish disabled - not distributing via npm
5430

5531
goreleaser:
5632
needs: release-please
@@ -68,20 +44,10 @@ jobs:
6844
git config --global user.name "goreleaser"
6945
git config --global user.email "[email protected]"
7046
71-
- name: Install Nix
72-
uses: cachix/install-nix-action@v31
73-
74-
- name: Setup Bun
75-
uses: oven-sh/setup-bun@v2
76-
with:
77-
bun-version-file: .bun-version
78-
79-
- name: Cache Bun
80-
uses: actions/cache@v4
47+
- name: Setup Go
48+
uses: actions/setup-go@v5
8149
with:
82-
path: ~/.bun/install/cache
83-
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }}
84-
restore-keys: bun-${{ runner.os }}-
50+
go-version: '1.23'
8551

8652
- name: Set up QEMU
8753
uses: docker/setup-qemu-action@v3
@@ -150,25 +116,4 @@ jobs:
150116
install-source: ${{ needs.release-please.outputs.tag_name }}
151117
test-mode: release
152118

153-
npm-integration-tests:
154-
needs: [release-please, publish]
155-
if: ${{ needs.release-please.outputs.release_created == 'true' }}
156-
runs-on: ubuntu-latest
157-
strategy:
158-
fail-fast: false
159-
matrix:
160-
node-version:
161-
- 18
162-
- 20
163-
- 22
164-
- latest
165-
steps:
166-
- name: Checkout
167-
uses: actions/checkout@v4
168-
169-
- name: Test npm installation on Node.js ${{ matrix.node-version }}
170-
uses: ./.github/actions/test-npm-install
171-
with:
172-
node-version: ${{ matrix.node-version }}
173-
test-mode: release
174-
package-version: ${{ needs.release-please.outputs.tag_name }}
119+
# npm integration tests removed - not distributing via npm

0 commit comments

Comments
 (0)