Skip to content

Commit

Permalink
build: Remove duplicate release CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
EvHaus committed Feb 20, 2024
1 parent 74480fe commit e12f1c5
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,4 @@ jobs:
run: bun install

- name: Test
run: bun run test

Release:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta'
runs-on: ubuntu-latest
needs: [Test]
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Build package
run: bun run dist

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: bun run semantic-release
run: bun run test

0 comments on commit e12f1c5

Please sign in to comment.