Skip to content

♻️ Refactor(enviroment): Change repo in monorepo and change CI/CD #20

♻️ Refactor(enviroment): Change repo in monorepo and change CI/CD

♻️ Refactor(enviroment): Change repo in monorepo and change CI/CD #20

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 }}