diff --git a/.github/workflows/lint.yml b/.github/workflows/lint-sdks.yml similarity index 93% rename from .github/workflows/lint.yml rename to .github/workflows/lint-sdks.yml index b4239ba7..b3929def 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint-sdks.yml @@ -1,4 +1,4 @@ -name: SDKs +name: Lint SDKs on: push: branches: @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout Sources uses: actions/checkout@v4 - + - name: Setup Python uses: actions/setup-python@v4 with: @@ -22,20 +22,20 @@ jobs: uses: snok/install-poetry@v1 with: version: 1.7.0 - + - name: Lint Python source working-directory: flipt-client-python run: | poetry install poetry run black --check . - + lint-typescript: name: Lint Typescript runs-on: ubuntu-latest steps: - name: Checkout Sources uses: actions/checkout@v4 - + - name: Install Node uses: actions/setup-node@v4 with: @@ -45,4 +45,4 @@ jobs: working-directory: flipt-client-node run: | npm ci - npm run prettier-check + npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test-sdks.yml similarity index 86% rename from .github/workflows/test.yml rename to .github/workflows/test-sdks.yml index c163beee..4bfb0153 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test-sdks.yml @@ -1,4 +1,4 @@ -name: Tests +name: Test SDKs on: push: branches: @@ -7,7 +7,7 @@ on: jobs: test: - name: Dagger ITs + name: Integration Tests runs-on: ubuntu-latest steps: - name: Checkout Sources @@ -18,12 +18,12 @@ jobs: go-version: "1.21.3" check-latest: true cache: true - + - name: Install Dagger run: | cd /usr/local curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.9.3 sh - - - name: Run ITs + + - name: Run Integration Tests run: | dagger run go run ./build diff --git a/flipt-client-node/package.json b/flipt-client-node/package.json index 6a148f6b..8bc6973e 100644 --- a/flipt-client-node/package.json +++ b/flipt-client-node/package.json @@ -1,14 +1,14 @@ { "name": "flipt-client-node", "version": "0.0.1", - "description": "Flipt Node Client for evaluations through FFI", + "description": "Flipt Node Client for client-side evaluation", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "", - "license": "ISC", + "license": "MIT", "scripts": { - "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write", - "prettier-check": "prettier --check src/**/*.ts", + "fmt": "prettier --config .prettierrc 'src/**/*.ts' --write", + "lint": "prettier --check src/**/*.ts", "test": "jest" }, "dependencies": {