Skip to content

refactor: update package repo, leftover #59

refactor: update package repo, leftover

refactor: update package repo, leftover #59

Workflow file for this run

# SPDX-FileCopyrightText: 2021-2025 Dyne.org foundation
#
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Release
on:
pull_request:
push:
branches:
- main
# TODO: docs
jobs:
reuse:
name: 🚨
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v5
test:
name: 🧪
needs: reuse
runs-on: ubuntu-latest
steps:
- uses: dyne/pnpm@v1
- run: pnpm coverage
release:
name: 📦
needs: test
if: github.ref == 'refs/heads/main'
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: 🔨 Setup pnpm
uses: dyne/pnpm@v1
- name: 🧪 Run the tests
run: pnpm coverage
- name: 📦️ Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release