diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml
new file mode 100644
index 0000000..c9ba924
--- /dev/null
+++ b/.github/workflows/npm-publish.yml
@@ -0,0 +1,29 @@
+name: Publish to npm
+
+on:
+ release:
+ types: [published]
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20.x'
+
+ - name: Install dependencies
+ run: npm install
+
+ - name: Build package
+ run: npm run build
+
+ - name: Publish to npm
+ run: |
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
+ npm publish
+ env:
+ NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..02187df
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,28 @@
+
+
+# PolyUnion Changelog
+
+## v0.0.2 (2024-03-03)
+
+### Refactors & Improvements ✨
+
+- Add github action to publish to npm when a new release is published
+- Add github action to run unit tests #3
+- Reduce package size by importing turf modules individually #1
+
+
+
+
+## v0.0.1 (2024-03-03)
+
+### First release 🚀
+
+Hey!
+
+Just a heads-up: this is more of a test run than a ready-for-prime-time release. I'm looking to you to help me iron out the kinks and make this thing better 🙏
+
+## Notes
+
+Gotta admit, Turf.js is a bit hefty as a dependency. Next time around, I'll be switching to individual module imports to slim things down.
+
+Thanks.
diff --git a/package.json b/package.json
index 0283e64..f32eb96 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "polyunion",
- "version": "0.0.1",
+ "version": "0.0.2",
"description": "A fast and efficient library for merging multiple polygons in a GeoJSON FeatureCollection",
"main": "./dist/index.js",
"module": "./dist/index.mjs",