Skip to content

chore: release v0.5.0 #7

chore: release v0.5.0

chore: release v0.5.0 #7

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
integration:
name: Integration
uses: ./.github/workflows/integration.yml
publish:
name: Publish
needs:
- integration
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Publish
run: pnpm publish --no-git-checks
working-directory: packages/astro-d2
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Generate changelog
uses: hideoo/changelogithub-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}