Skip to content

Commit 2539456

Browse files
authored
Merge pull request #65 from oslabs-beta/stephany/github-actions-3
fix&feat: Add rules to eslint.config.mjs, setup github actions for branch stephany/github-actions-3
2 parents d86ff3d + efffe67 commit 2539456

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.github/workflows/mlflow-js.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: mlflow
2+
on:
3+
push:
4+
branches: [stephany/github-actions-3]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js
11+
uses: actions/setup-node@v4
12+
with:
13+
node-version: '22.7'
14+
- name: Install and build
15+
working-directory: ./mlflow
16+
run: npm ci
17+
- name: Build
18+
working-directory: ./mlflow
19+
run: npm run build

mlflow/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ lib/
1414

1515
# Temporary files
1616
temp/
17+
18+
package-lock.json

mlflow/eslint.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ export default tseslint.config(
77
eslint.configs.recommended,
88
...tseslint.configs.recommended,
99
{
10-
ignores: ['docs'],
10+
ignores: ['docs', 'lib/**'],
11+
},
12+
{
13+
rules: {
14+
'@typescript-eslint/no-explicit-any': 'off',
15+
'no-console': 'off',
16+
},
1117
}
1218
);

0 commit comments

Comments
 (0)