Skip to content

πŸŽ‰ Feat(@betternpm/semver): Publishing 1.0.0-prerelease! #10

πŸŽ‰ Feat(@betternpm/semver): Publishing 1.0.0-prerelease!

πŸŽ‰ Feat(@betternpm/semver): Publishing 1.0.0-prerelease! #10

Workflow file for this run

name: Publish Package to npmjs
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: 🟒 Setup
uses: ./.github/common-actions/install
- name: πŸ—¨οΈ Create Release Pull Request or Publish to NPM
id: changesets
uses: changesets/action@v1
with:
publish: pnpm npm:publish --no-git-checks --tag latest
title: "πŸ€– ci(changesets): :package: version packages"
commit: "πŸ€– ci(changesets): version packages"
setupGitUser: false
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}