🤖Manual Changes(GH actions,action.yaml): Update pnpm package and node #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Package to npmjs | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
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 }} |