diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index dba8248..87cc2d2 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -6,9 +6,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: Install Bun + - name: Setup Bun uses: oven-sh/setup-bun@v1 - - name: Install Node + - name: Setup Node uses: actions/setup-node@v4 with: node-version: "20" diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml new file mode 100644 index 0000000..43aa69a --- /dev/null +++ b/.gitea/workflows/publish.yaml @@ -0,0 +1,29 @@ +name: Publish +run-name: Publish +on: + push: + branches: + - master + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + registry-url: https://git.jvalver.de/api/packages/thilawyn/npm + scope: "@thilawyn" + - name: Clone repo + uses: actions/checkout@v4 + - name: Install dependencies + run: bun install --frozen-lockfile + - name: Build + run: npm run build + - name: Publish + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml index 8722de7..1b9f0b2 100644 --- a/.gitea/workflows/test-build.yaml +++ b/.gitea/workflows/test-build.yaml @@ -7,9 +7,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: Install Bun + - name: Setup Bun uses: oven-sh/setup-bun@v1 - - name: Install Node + - name: Setup Node uses: actions/setup-node@v4 with: node-version: "20" diff --git a/bun.lockb b/bun.lockb index ab3040c..8c8a615 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index ac5e447..e412d4f 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,6 @@ "name": "@thilawyn/thilalib", "version": "0.1.0", "type": "module", - "publishConfig": { - "registry": "https://git.jvalver.de/api/packages/thilawyn/npm/" - }, "files": [ "./dist" ], @@ -49,20 +46,20 @@ "clean:node": "rm -rf node_modules" }, "dependencies": { - "remeda": "^2.0.7", - "type-fest": "^4.20.0" + "remeda": "^2.0.10", + "type-fest": "^4.20.1" }, "devDependencies": { - "bun-types": "^1.1.12", + "bun-types": "^1.1.13", "npm-check-updates": "^16.14.20", "npm-sort": "^0.0.4", "tsup": "^8.1.0", - "tsx": "^4.15.1", + "tsx": "^4.15.6", "typescript": "^5.4.5" }, "optionalDependencies": { - "@effect/schema": "^0.67.22", - "effect": "^3.3.1", - "mobx": "^6.12.3" + "@effect/schema": "^0.68.0", + "effect": "^3.3.4", + "mobx": "^6.12.4" } }