Skip to content

Feat: added scorecard #43

Feat: added scorecard

Feat: added scorecard #43

Workflow file for this run

name: Semantic Versioning
on:
push:
branches:
- main # or master, or whichever branch you want this to run on
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun i --dev
# Authenticate with ghcr.io
- name: Authenticate with ghcr.io
run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Semantic Release
run: bunx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ github.server_url }}/${{ github.repository }}
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}