Skip to content

[astro-svg-loaders] Fix publish to npm (#760) #721

[astro-svg-loaders] Fix publish to npm (#760)

[astro-svg-loaders] Fix publish to npm (#760) #721

Workflow file for this run

name: Release
on:
push:
branches: [main]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
run_install: true
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish
env:
NPM_CONFIG_PROVENANCE: true
GITHUB_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}