Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fluffy-lilies-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@codee-sh/medusa-plugin-automations": patch
---

Add transformContext from -emails plugin
5 changes: 5 additions & 0 deletions .changeset/swift-pillows-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@codee-sh/medusa-plugin-automations": patch
---

Replace the Slack templates with external plugin
88 changes: 44 additions & 44 deletions .github/workflows/changeset-version.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
name: Version Bump
# name: Version Bump

on:
push:
branches:
- main
# on:
# push:
# branches:
# - main

jobs:
version:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# jobs:
# version:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# pull-requests: write
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20

- name: Install dependencies
run: npm ci
# - name: Install dependencies
# run: npm ci

- name: Configure Git for tag creation
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# - name: Configure Git for tag creation
# run: |
# git config user.name "github-actions[bot]"
# git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
# changeset publish automatically creates git tags in format: package-name@version
# For single package repo, it creates: v1.0.0 format
publish: |
npm run build
npm run release
# Push tags created by changeset publish
git push --follow-tags
version: npm run version
commit: "chore: version packages"
title: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
# - name: Create Release Pull Request or Publish
# id: changesets
# uses: changesets/action@v1
# with:
# # changeset publish automatically creates git tags in format: package-name@version
# # For single package repo, it creates: v1.0.0 format
# publish: |
# npm run build
# npm run release
# # Push tags created by changeset publish
# git push --follow-tags
# version: npm run version
# commit: "chore: version packages"
# title: "chore: version packages"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.npm_token }}
# NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
Loading