CI
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-01-17 03:36:31 +01:00
parent 22c90f591b
commit 240c83eacb
3 changed files with 10 additions and 6 deletions

View File

@@ -15,15 +15,18 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: "20" node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Clone repo - name: Clone repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
- name: Build - name: Build
run: npm run build run: |
cd packages/reffuse
bun run build
- name: Publish - name: Publish
run: | run: |
cd packages/reffuse cd packages/reffuse
npm config set @thilawyn:registry https://git.valverde.cloud/api/packages/thilawyn/npm/ npm publish --provenance --access public
npm config set -- //git.valverde.cloud/api/packages/thilawyn/npm/:_authToken "${{ vars.NODE_AUTH_TOKEN }}" env:
npm publish NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -18,7 +18,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
- name: Build - name: Build
run: bun run build run: |
cd packages/reffuse
bun run build
- name: Pack - name: Pack
run: | run: |
cd packages/reffuse cd packages/reffuse

View File

@@ -2,7 +2,6 @@
"private": true, "private": true,
"workspaces": ["./packages/*"], "workspaces": ["./packages/*"],
"scripts": { "scripts": {
"build": "bun run --filter 'reffuse' build",
"lint:tsc": "bun run --filter '*' lint:tsc", "lint:tsc": "bun run --filter '*' lint:tsc",
"clean:cache": "rm -f tsconfig.tsbuildinfo", "clean:cache": "rm -f tsconfig.tsbuildinfo",
"clean:dist": "rm -rf dist", "clean:dist": "rm -rf dist",