diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 35bc5594..cc1cc707 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -41,7 +41,7 @@ jobs: with: node-version: '18' - - uses: node templates/compile.cjs + - uses: npm run email-templates - name: "authorizer_email_confirmation template" uses: gyto/mailgun-template-action@v2 diff --git a/package.json b/package.json index 2436b162..d7e6dc9f 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "preview": "vite preview", "start": "vite", "typecheck": "tsc --noEmit", - "typecheck:watch": "tsc --noEmit --watch" + "typecheck:watch": "tsc --noEmit --watch", + "email-templates": "node ./templates/compile.cjs" }, "dependencies": { "@authorizerdev/authorizer-js": "2.0.0",