Skip to content

Commit 65a5862

Browse files
authored
Merge pull request #10 from kinde-oss/Workflows
Workflows + Dependencies
2 parents 9d8f222 + 17d5966 commit 65a5862

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish to npm on Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish-npm:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: '16'
18+
registry-url: 'https://registry.npmjs.org'
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
# Optional: Run tests or build steps here
24+
25+
- name: Publish to npm
26+
run: npm publish --access=public
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"editor.defaultFormatter": "esbenp.prettier-vscode",
3-
"editor.codeActionsOnSave": {"source.fixAll": true},
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll": "explicit"
5+
},
46
"editor.formatOnSave": true,
57
"files.trimTrailingWhitespace": true,
68
"markdown.extension.italic.indicator": "_",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@kinde-oss/kinde-sveltekit-sdk",
2+
"name": "@kinde-oss/kinde-auth-sveltekit",
33
"version": "1.2.0",
44
"description": "Kinde SvelteKit SDK",
55
"scripts": {
@@ -44,7 +44,7 @@
4444
"svelte": "^4.0.0"
4545
},
4646
"dependencies": {
47-
"@kinde-oss/kinde-typescript-sdk": "^2.2.3"
47+
"@kinde-oss/kinde-typescript-sdk": "^2.4.0"
4848
},
4949
"devDependencies": {
5050
"@playwright/test": "^1.28.1",

0 commit comments

Comments
 (0)