Skip to content

Merge pull request #69 from ITZSHOAIB/dependabot/npm_and_yarn/typescr… #53

Merge pull request #69 from ITZSHOAIB/dependabot/npm_and_yarn/typescr…

Merge pull request #69 from ITZSHOAIB/dependabot/npm_and_yarn/typescr… #53

name: Publish
on:
push:
branches:
- "master"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Checks
uses: ./.github/workflows/pre-checks.yml
secrets: inherit
publish:
name: Publish
needs: checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}