Create release.yml

This commit is contained in:
Sairaj Jawalikar
2025-06-19 23:57:23 +05:30
committed by GitHub
parent 566b9ff994
commit 473b2ba461
+25
View File
@@ -0,0 +1,25 @@
name: Publish to npm
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test