dcmjs 0.34.2 → 0.34.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.json CHANGED
@@ -14,5 +14,9 @@
14
14
  "parserOptions": {
15
15
  "ecmaVersion": 11,
16
16
  "sourceType": "module"
17
+ },
18
+
19
+ "rules": {
20
+ "no-loss-of-precision": "off"
17
21
  }
18
22
  }
@@ -0,0 +1,27 @@
1
+ name: Run lint and format check
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ lint-and-format:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 18
19
+
20
+ - name: Install packages
21
+ run: yarn install --frozen-lockfile
22
+
23
+ - name: Run ESLint
24
+ run: yarn lint
25
+
26
+ - name: Check Prettier formatting
27
+ run: yarn format:check
@@ -18,7 +18,7 @@ jobs:
18
18
  node-version: 18
19
19
 
20
20
  - name: Install packages
21
- uses: bahmutov/npm-install@v1
21
+ run: yarn install --frozen-lockfile
22
22
 
23
23
  - name: Run tests
24
- run: npm run test
24
+ run: yarn test