Skip to content

Commit

Permalink
add pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhvost committed Jan 24, 2024
1 parent 5d1372b commit 1c721e1
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: "ci"

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install
run: yarn

- name: Build
run: yarn build

- name: Lint
run: yarn lint
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npmjs
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
src
tests
yarn.lock
.eslintrc.yml
.github
.vscode
.release-it.json
npm-debug.log
tsconfig.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Configure the plugin by specifying the following options in `medusa-config.js`:

The plugin listens to Medusa events (e.g., order creation, product updates) and sends these events to the configured AWS EventBridge event bus. Events in EventBridge can then be used to trigger various AWS services such as Lambda, SNS, SQS, etc.

## Examples
## Example

```json
{
Expand Down

0 comments on commit 1c721e1

Please sign in to comment.