mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
⬆️ Bump pnpm/action-setup from 2 to 3 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 3. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v2...v3) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
859 B
YAML
31 lines
859 B
YAML
name: NPM Publish
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
jobs:
|
|
npm-publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v3
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
cache: "pnpm"
|
|
node-version: "18"
|
|
- name: Install dependencies 📦
|
|
run: pnpm install
|
|
- name: Build 👷♂️
|
|
run: pnpm turbo run build --filter=gitmojis
|
|
- name: Publish package to NPM 🚀
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
|
|
run: |
|
|
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
|
pnpm turbo publishPackage
|
|
- name: Publish GitHub Release 📝
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
name: gitmoji ${{github.ref_name}}
|
|
generate_release_notes: true
|