Skip to content

Merge pull request #2 from mathix420/dependabot/npm_and_yarn/semantic… #13

Merge pull request #2 from mathix420/dependabot/npm_and_yarn/semantic…

Merge pull request #2 from mathix420/dependabot/npm_and_yarn/semantic… #13

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun i
- name: Build
run: bun run build
- name: Test
run: bun test --coverage
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: bunx semantic-release
# - name: Upload Code Coverage
# uses: codecov/[email protected]