diff --git a/.github/workflows/mlflow-js.yaml b/.github/workflows/mlflow-js.yaml new file mode 100644 index 00000000..c7759b08 --- /dev/null +++ b/.github/workflows/mlflow-js.yaml @@ -0,0 +1,19 @@ +name: mlflow +on: + push: + branches: [stephany/github-actions-3] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '22.7' + - name: Install and build + working-directory: ./mlflow + run: npm ci + - name: Build + working-directory: ./mlflow + run: npm run build diff --git a/mlflow/.gitignore b/mlflow/.gitignore index 845fa117..2198aa0f 100644 --- a/mlflow/.gitignore +++ b/mlflow/.gitignore @@ -13,3 +13,5 @@ lib/ # Temporary files temp/ + +package-lock.json \ No newline at end of file diff --git a/mlflow/eslint.config.mjs b/mlflow/eslint.config.mjs index 35ea989f..f3e6c8b9 100644 --- a/mlflow/eslint.config.mjs +++ b/mlflow/eslint.config.mjs @@ -7,6 +7,12 @@ export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommended, { - ignores: ['docs'], + ignores: ['docs', 'lib/**'], + }, + { + rules: { + '@typescript-eslint/no-explicit-any': 'off', + 'no-console': 'off', + }, } );