Skip to content

Commit

Permalink
Merge pull request #36 from shakibhasan09/sakib
Browse files Browse the repository at this point in the history
Sakib
  • Loading branch information
shakibhasan09 authored Sep 5, 2024
2 parents 1e1fbae + 8584249 commit 8c3a129
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

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 Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"release": "turbo build && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.8",
Expand Down
6 changes: 6 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @unify-payment/node

## 0.0.10

### Patch Changes

- Added github actions

## 0.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unify-payment/node",
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 8c3a129

Please sign in to comment.