CHORE: Add CI for making sure PRs don't break things (#89)

* fix: add CI for better control of regressions during PRs

* fix: slight readme improvement

* chore: fix CI

* cleanup

* fix: duplicate workflow trigger
This commit is contained in:
Ralph Khreish
2025-04-03 16:01:58 +02:00
committed by GitHub
parent 9dc5e75760
commit a56a3628b3
7 changed files with 362 additions and 1 deletions

View File

@@ -14,9 +14,21 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Cache node_modules
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install
run: npm ci
timeout-minutes: 2
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1