Skip to content

build: remove node from CI because of Bun #32

build: remove node from CI because of Bun

build: remove node from CI because of Bun #32

name: Continuous Integration on release branches
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Run tests
run: bun test
- name: Build project
run: bun run build
- name: Release new package version
run: bun semantic-release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}