Skip to content

Merge branch 'main' of https://github.com/ACP-CODE/astro-robots #4

Merge branch 'main' of https://github.com/ACP-CODE/astro-robots

Merge branch 'main' of https://github.com/ACP-CODE/astro-robots #4

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Generate changelog
uses: hideoo/changelogithub-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}