Skip to content

πŸ› Fix(enviroment): change GH actions & access in changeset config,… #10

πŸ› Fix(enviroment): change GH actions & access in changeset config,…

πŸ› Fix(enviroment): change GH actions & access in changeset config,… #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
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
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.GITHUBTOKEN }}